Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to activate a top level form?
Message
From
20/06/2003 02:59:42
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00802009
Message ID:
00802091
Views:
19
Hi David,

Thanks for your reply. I have set the _SCREEN.VISIBLE to .f. prior to displaying the main TopLevel form. Any Explorer window or window from another application, that is behind my form has the focus. I have tried numerous settings but with the same result. The only way I can get the focus onto my form is to actually click on it.

Regards
Doug Johnston



>Doug,
>
>You should be able to SetFocus() to the form to get focus back there. I imagine though that you must have code that is pulling focus away from the form after it's launched.
>
>>I have an application which has just 1 top level form, but when the app starts, this VFP form does not contain the focus, the focus remains either with the desktop or other windows that may have been open prior to mine.
>>
>>Can anyone help with a solution, as it is a pain to click on the form first, then enter data into the fields.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform