Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form as Top Level Form
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00059458
Message ID:
00059697
Views:
30
>>>Hi all,
>>>
>>>I've tried to design a form to come out as Top-Level Form (ShowWindow property/SDI). When I run my program, everything is OK except the window is not focus. If I have Explorer on, the window will be behind Explorer. Please help.
>>>
>>>Thanks,
>>>Farouk Yew Abdullah
>>
>>Try setting the .AlwaysOnTop property of the form to .T.
>
>i've had this same problem and i got around it using the FindWindow api call to get a handle to the window
>and then using the BringWindowToTop api call. seems to work pretty good.

I've used a Setfocus in the form init for this...I guess there are several ways of handling it...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Reply
Map
View

Click here to load this message in the networking platform