Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Modal form sometimes not displaying on top
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01409069
Message ID:
01409071
Views:
70
>I have a modal form that contains a page frame. On page 2, there is code in the Activate method which gets fired. On the page itself, there is a command button whose Click event instantiates a class-based modal pop-up form, and then calls the form's Show method to display it.
>
>The issue I'm having is this:
>
>Prior to clicking the command button, if the current focus is on either a grid or a couple of other controls on this page, the pop-up form shows up just fine and everything works. If, however, the focus is just on the page itself or on a spinner control on the page, then the form gets shown but it appears underneath the original form and I cannot do anything with it. It doesn't respond to any events.
>
>Any ideas?

Move the focus to the right control before calling this modal form? <g>

Give me a sec. to find a recent thread on a similar issue.

BTW, does this modal form have AlwaysOnTop property set to true?
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform