Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set focus on a form
Message
De
03/06/2002 20:58:58
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00664140
Message ID:
00664303
Vues:
21
The best place for this behavior is the GotFocus event for the form. You will only want to do this on the first occurance however. Just set a form property (form.Comment) to determine if further gotfocus events should call the firstfocus method/procedure. If the focus is set in any event prior to Form::activate the form instanciation sequence is skewed.

Glenn

>Where is the best place to set the focus for the first field on my form?
>
>My form contains a class thats placed on the form, I'm assuming that this is interfering with the set focus.
>
>Any ideas?
>
>RC
>BSS
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform