Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SDI form refuses to show on top
Message
From
21/03/2000 08:14:06
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
SDI form refuses to show on top
Miscellaneous
Thread ID:
00348270
Message ID:
00348270
Views:
44
Hi all,

my applications _SCREEN contains a form (frmpvdesktop) with an IExplorer browser control (ohtml). The forms AlwaysOnBottom property is .T. The applications main menu launches some SDI forms. The problem: the first form that is launched after the app is up is behind the _SCREEN. I have tracked the events and found that following happens after the menu item to call the form is clicked:

screen.LostFocus()
screen.Deactivate()
newform.pgf1.page1.Activate()
newform.Activate()
newform.GotFocus()
newform.pgf1.page1.lsteigenschaften.GotFocus()
newform.pgf1.page1.lsteigenschaften.LostFocus()
newform.LostFocus()
newform.Deactivate()
frmpvdesktop.Activate()
frmpvdesktop.GotFocus()
frmpvdesktop.ohtml.GotFocus()

This happens only when the first time a form is called. When the form is closed and relaunched or another SDI form is launched, they are always on top. What activates the background form?

Any ideas?
I've acquired quite a taste for a well-made mistake... [Fiona Apple]
Next
Reply
Map
View

Click here to load this message in the networking platform