>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
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer