Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to ckick button when focus is in field with invalid
Message
De
05/10/2002 04:05:46
 
 
À
04/10/2002 16:16:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00707894
Message ID:
00708039
Vues:
9
Hi,

<<
I really want to validate on the text box. Can't enter or tab out unless the value is blank. But if the code is really valid, but just not in the table, I ant them to be able to click and add button to open the add screen. When the add is complete and that screen is closed, then be back in the text box. Entry should now be valid at this point provided they enterred the new employee correctly. I want it to go ahead and process the valid event again when they exit the text box.
<<

As others, I'm not sure this is the best approach. However if you want to do this you could try setting a flag in the command button WHEN and moving the textbox validation code to its LOSTFOCUS. If the flag is set then you know the user is about to click the button and can bypass the validation code.

HTH,
Viv
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform