Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using lostfocus to validate?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00363607
Message ID:
00363661
Vues:
24
Paul,

Set the Cancel property of your Cancel button to .T. This cause the click of the cancel button to be equivalent of pressing the escape key. Now in any Valid event you can;
* Some Valid event
IF LASTKEY() = 27 && Escape
   KEYBOARD "{CTRL+A}"  && Change lastkey()
   RETURN .T.
ENDIF
* The rest of the Validation code goes here
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform