Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Single Form lost Focus
Message
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:
01404823
Vues:
51
>>>>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).
>>
>>I moved the Thisform.txtInfor1.SetFocus to the Activate, but it did not help.
>>
>>Thanks
>
>Check message #1220782

Where would I get hWnd from to pass to it?
Tommy Tillman A+ NetWork+ MCP
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform