Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fooling the valid event of a control
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00510628
Message ID:
00510637
Vues:
13
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
Fil
Voir

Click here to load this message in the networking platform