Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Modal calling modal calling modal, lost on way back
Message
From
18/12/2001 16:15:45
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00595801
Message ID:
00595851
Views:
26
>>>(vfp7 on w2k pro ws)
>>>
>>>I have a certain form class whose basic feature is an incremental search (i.e. readonly) grid. The data are somewhat hierarchically organized, so I have one form which searches the top level of documents, has a button which launches the second level search (within a p-view based on selection) and the button on this second form has an add/edit button.
>>>
>>>This button hides its form and launches the third form. So far so good, everything is fine. All forms are modal, BTW. Now when the last form exits, it shows the second form and returns the focus to it. The problem is that this active form is behind the first form. Now I know I could just keep them all non-modal, or pass the reference instead of just view parameters etc etc - one of those will eventually work. The question is whether anyone knows a faster way to resolve this. I want the second form to appear as it was before I launched the third.
>>
>>
>>Does a This.Show() on the activate of the second window help?

Nope.

Or set AlwaysOnTop=.T. to the second and third forms...

Second one was enough, thanks. I hope I won't have more than three levels, but I figure I could set it to .f. before launching a modal form and setting it to .t. on return.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform