Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is the next filed?
Message
 
To
22/10/1997 14:57:09
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00056004
Message ID:
00056135
Views:
36
>>>IMHO, there are no normal ways to do this, and this is one more reason to move validation into one place (e.g. cmdSave.click). However, you can make some trick using cmdExit.MouseMove event.
>>Ed,
>>
>>There is one "normal" way to do this, set the cancel property of the exit button to .T. and check for LASTKEY()=27 in the valid of all controls.
>
>If I remember right, the initial question was how to avoid textbox validation if a user clicks on 'Exit' button, not specifically pressing ESC.
Ed,

If the exit button has the cancel property set to .T. clicking it makes lastkey() = escape before the vlaid of the current control fires.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform