Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Lostfocus event
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00055733
Message ID:
00055905
Vues:
29
>>I have a field, pr_nbr, that when the focus is lost, checks for the existence of another pr_nbr in the file that matches the one the user just lost the focus of. If there is a match, I want the focus set back to the pr_nbr but the focus always goes to the next object. I've instituted a 'thisform.pr_nbr1.setfocus but itdoes not matter.
>
>You could move your code into Valid event, and return .F. over there if you want to stay in the textbox.

If you don't want a control to go to the next (in tab order) control, you must issue a NODEFAULT command in addition to the code that tells you where you DO want to go.

HTH
Barbara
Barbara Paltiel, Paltiel Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform