Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fooling the valid event of a control
Message
From
23/05/2001 18:24:55
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00510628
Message ID:
00510637
Views:
12
What I do, rather than having the LASTKEY on every text box, every form has an lOnCancel (I use lOnRevert) which is placed in the click() event of the form.
Same premise, but it allows flexibility for those fields which must have data even if you cancel (such as a user id which is needed to activate fields in a form). Each and every control has a lAllowRevFlag, - of course to say the data need not be validated if the form.lOnRevertFlag is .T., the code is in the Parent.class for each control.

HTH
Ric
Previous
Reply
Map
View

Click here to load this message in the networking platform