Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Modal forms
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00359542
Message ID:
00359642
Views:
12
Roi,
You could try getting an object reference to the "parent" forms when the "child" forms load. Then in the Destroy method call the Activate event of the "parent" form just before you set the reference to .NULL. and release the form. It sounds like a kludge but it will probably work.

>I have three forms Form1, Form2, Form3. Each form has the following properties:
>
>DeskTop = .T.
>ShowWindow = 1 - In Top-Level Form
>WindowType = 1 - Modal
>
>Form1 has a button with Do Form2 in the click event
>Form2 has a button with Do Form3 in the click event
>
>I run Form1, click the button. Form2 shows up, can't click anywhere but on that form (as expected). I click Form2's button, Form3 shows up the same way (as expected). Now I click the X to close Form3 and it releases but Form2 is now BEHIND Form1?????
>
>Is that what is supposed to happen? I need Form2 to be in front of Form1.
>
>TIA
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform