Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can you bypass the valid event??
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00202273
Message ID:
00202283
Views:
15
Dimitris,

If your cancel button's Cancel property is .T. you can check the value of LASTKEY() in your valid. If it's 27 you know that the user either pressed escape or clicked the cancel button.

>There is sometimes a situation where you want to bypass the validation check when you click a specific (Cancel - to exit the form) button but it seems there is no way to do this. It would be nice for instance if in the valid event of a textbox control i could specify that when clicking the thisform.cmdCancel to bypass the valid event of the textbox control. You cannot do this or am i missing something
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform