Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Commandgroup Buttons
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00294274
Message ID:
00294296
Vues:
25
daryl,

The problem is that the Enter key is causing VFP to put focus on the next control after your setfocus fires. Change your Click code to somehting like this;

IF SomeCondition
Thisform.Text2.SetFocus()
NODEFAULT
ENDIF

The NODEFAULT stops VFP from moving the focus on you.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform