Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Modal Form and MESSAGEBOX and Another Form
Message
From
16/04/2008 16:35:25
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01310983
Message ID:
01311287
Views:
17
>>I've been trying to popup a small form on my main form. It would not display. I didn't realize that it was popping up behind the main form until I set the AutoCenter to .F. just for kicks. The main form is modal. I've tried using zOrder() to bring the popup to the front, but it does not work. The MessageBox will appear on top of my main form. How can I get the popup form to appear in front of the the modal form?
>
>Set AlwaysOnTop = .T.

Would this work -- I haven't tested it. If the first form is modal and the second form that is popped up is modeless then after the second form is activated the focus will return back to the modal form. So the popup form would be inaccessible since now back to modal form. The popup should work with the second form if it is modal without the AlwaysOnTop=.T. setting. I have modal forms popping up ontop on modal forms and they work without the setting. Have not tried a modeless form...
Previous
Reply
Map
View

Click here to load this message in the networking platform