Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement