get : Valid clausule not executed

get : Valid clausule not executed

Postby demont frank » Wed Dec 17, 2008 3:22 pm

Hello,

Using fwh8.10 , i have problems with next :

Code: Select all  Expand view
....
REDEFINE GET oGet[1] cVal1 VALID .F.
REDEFINE GET oGet[2] cVal2 ACTION msginfo("ok")
....


When oGet[1] has focus we can use the mouse and click on the baction bitmap from oget[2] WITHOUT the valid clausule is executed.

Enter , tab or trying to move to the inputfield from oGet[2] with the mouse works

Frank
demont frank
 
Posts: 167
Joined: Thu Mar 22, 2007 11:24 am

Postby Antonio Linares » Fri Dec 19, 2008 2:26 pm

Frank,

Please try this:
Code: Select all  Expand view
....
REDEFINE GET oGet[1] cVal1 VALID .F.
REDEFINE GET oGet[2] cVal2 ACTION msginfo("ok")
oGet[2]:oBtn:lCancel := .F.
....
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42080
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 86 guests