Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Not executing code in the lostfocus of a textbox
Message
De
03/04/1998 07:58:59
 
 
À
20/03/1998 13:51:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00086068
Message ID:
00089205
Vues:
22
>I have some field level validation that I do when the user enters data into a textbox. I put this validation in the lostfocus.
>
>1) But I don't want this code to execute if the user clicks on the restore toolbar. How can I detect for the user hitting an object outside this form and not execute the stuff in the lostfocus. Should this code even be in th lostfocus to start with or the valid ??
>
>2) i fthe user hits enter I want the user to stay in the current textbox if data entered fails that test, but still allow them to exit out of the screen (cancel out so they are not trapped in this field)
>
>
>Help !!!! and Thanks in advance

Have you tried the Valid() method?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform