No -- the second form has showwindow = 1
Changing it to 2 does create the behavior I expected (in terms off the second form disappearing when the first form gets focus), but there are two other new behaviors:
1) The second form shows up in the windows task bar
2) Minimizing the first (main) form doesn't minimize the second form.
I had thought they would all disappear together.
Am I barking up the wrong tree here?
Thanks,
Jim
>BTW all forms have showwindow = 2 and not 1, right?
>Cetin
>
>>Cetin --
>>
>>My main form is non-modal; by test form is non-modal. For both forms, AlwaysOnTop = .F.
>>
>>I bring up my main form, and then my test form. The test form is smaller, leaving some of the main form visible.
>>
>>If I click on any portion of the main form, it receives the focus; I can right-click for pop-up menus, etc, and it all works fine.
>>
>>HOWEVER, the test form remains on top; that is, clicking on the main form, and giving it focus, did not change the appearance of the test form in any way (except, I guess for the title bar, which goes gray.)
>>
>>Does this make sense?
>>
>>Jim
Jim Nelson
Newbury Park, CA