Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Single Form lost Focus
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01404810
Message ID:
01404823
Views:
52
>>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform