Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can't focus on my form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00330607
Message ID:
00330796
Vues:
16
>If what Bruce has suggested doesn't work for you, try setting the focus to your control in the form's GotFocus, not the Init. Strange things happen if you try to SetFocus from the Init.

Indeed, you've disturbed the natural event firing, though depending on what you're doing, it may not cause trouble...probably a good thing to avoid, in general, though. A setfocus in the Init causes the form Activate (and anything it runs) to run earlier than normal, then the Init finishes up...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform