Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting focus to a top-level form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00146913
Message ID:
00147173
Vues:
38
>>Also, depending on what you're doing, issuing a Show will activate it, which
>>is a form's version of setfocus...
>
>Where do I put the .Show()? I tried the Init event, but to no avail.

I guess the question is, what are you trying to do? Ordinarily , if you just DO FORM etc, it becomes active (has "focus") when its Activate fires...but it won't have "focus" earlier when the Init fires...so one solution is to just move any code needing focus to the form's Activate event...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform