Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Top level form does not get the focus
Message
 
 
To
04/03/2002 22:57:32
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00627628
Message ID:
00628286
Views:
28
Michel, what happens if you just place something like:

Activate window (main.name) top
or simply...
main.show()

right before the read events?

>>>I have a top level form that is called from a PRG. When that form is called,
>>>it doesn't get the focus. This is how I call it:
>>
>>PUBLIC oApp,oFtp
>>oApp=CREATEOBJECT('MASTER')
>>DO FORM FTP NAME Main
>>READ EVENTS
>>QUIT
>>
>>Michel, did you look at mskb #Q178117 PRB: Application Loses Focus or Opens Minimized on Startup?
>
>That knowledge base relates to the behavior of having Application.Visible = .F. in the Init() of the form. I don't have anything like that in my form. What is frustrating is that I didn't have any problem with VFP 6. Since I have updated to VFP 7, I have that for several applications.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform