Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to bypass an event ?
Message
De
12/04/2007 06:50:03
 
 
À
12/04/2007 04:08:35
Yim Ming Sun Derek
Spacious Design Consultant
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01214853
Message ID:
01214874
Vues:
10
I have an input checking control in a Lostfocus event of a editbox,
when I close the form it always run the code in the Lostfocus event.
I want to bypass to run the code in the Lostfocus event, how to code it.


Set the cancel property of your close button to .t.

Then wrap the validation code so that it only runs if LASTKEY() # 27.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform