General information
Category:
Forms & Form designer
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only