Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form appears behind main VFP window
Message
From
02/04/2007 12:08:49
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Form appears behind main VFP window
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01211339
Message ID:
01211339
Views:
67
I have a top level form in my application that has suddenly begun appearing behind the main vfp window when called from the menu. I made a minor unrelated change (adding a textbox to page on a pageframe) and this behavior has shown up.

The form has a dialog called from it's Init method to choose a location to open, whcih appears as it should, but as soon as that is entered the main form flashes and then immediately gets behind the main application window.

I have a method called GetonTop() that I have used in these situations before, which does this:
WITH This
    .AlwaysOnTop = .T.
    .AlwaysOnTop = .F.
ENDWITH
That has usually resolved things like this before, but no luck. Setting focus to one of the controls also does not get it in front. Any ideas would be helpful.
Jim Newsom
IT Director, ICG Inc.
Next
Reply
Map
View

Click here to load this message in the networking platform