Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Applicable sequence of events to trap empty text box on form
Message
De
21/10/2003 10:41:49
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Applicable sequence of events to trap empty text box on form
Divers
Thread ID:
00840665
Message ID:
00840665
Vues:
63
What would be an effective and efficient way to branch code execution in the following scenario;

Textbox1 on form1

Lookup for possible values for textbox1 on form2

If textbox1 is empty, abandon new record, *unless* form2 has gotten focus, ie: user wishes to lookup value for form1.textbox1 using form2.

I already have the code for EMPTY(this.value) on form1.textbox1.lostfocus. Where could I test for form2.gotfocus()?

Thanks in advance for any pointers.

Andrew
On a CLEAR day you can see forever.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform