Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form won't go behind
Message
 
To
26/06/1997 07:12:35
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00037730
Message ID:
00037782
Views:
37
>>>I am using an application framework similar to the sample to launch my forms with the launchform method from the application object:
>>> oapp.launchform("mjrdetail")
>>>
>>>Within the form I do:
>>> omjrsrch = CREATE("mjrsrchfrm")
>>> omjrsrch.show()
>>>
>>>If the class mjrsrchfrm is modal, it shows and becomes active, but the mjrdetail form remains on top -- it won't go behind. If the class mjrsrchfrm is modeless, it just flashes up, then disappears.
>>>
>>>I know I am missing something major here in how these stupid objects are supposed to work together. If someone could take pity on me as a VFP newbie and point me in the right direction, I would be greatly appreciative.
>>>
>>>With tears of frustration,
>>>
>>>Valerie
>>
>>What is the setting of the Always On Top property? You also need a READ EVENTS to keep the form from flashing.
>>
>>Craig
>
>Always on top is set to false.
>
>I don't understand -- I have a READ EVENTS in affect from the original startup program. Do I issue another one when I instantiate the new class?
>
>Valerie

check the alwaysontop property in the calling form, not the second one. the second one must be modal or processing continues on the next line in the code in the first form.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform