Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fooling the valid event of a control
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00510628
Message ID:
00510640
Views:
12
>>If the user presses escape there's no problem. The valid event doesn't fire even though the focus is on the textbox at the moment, and the form is closed normally.
>>
>>The problem occurrs when the user clicks on the Cancel button on the form. Then, the valid event fires and focus returns to the textbox.
>>
>>Thanks!
>>
>>Alex
>
>Yes, but if you have the Cancel property on your CommandButton set to .t., it shows up to LASTKEY() just like < Esc > was pressed.

DUH! Thanks Craig and Fred!!!

Alex
Low-carb diet not working? Try the Low-food diet instead!
Previous
Reply
Map
View

Click here to load this message in the networking platform