Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Single Form lost Focus
Message
De
09/06/2009 15:16:33
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01404810
Message ID:
01404812
Vues:
57
>Hi Gang!
>
>I have a small app (1 form), that when it comes up, it does not have focus.... I have to click on it to make the first field get focus.
>
>Here are the settings for the form....
>
>In the Init of the form I have
>
>Application.Visible = .F.
>_vfp.Visible = .F.
>_screen.Visible = .F.
>
>Thisform.txtInfo1.SetFocus
>
>and for the Forms WindowState I have Norma.
>
>What am I overlooking?
>
>Thanks!

Try to do it (setfocus) in Form.Activate (trigger it for 1st time only).
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform