>Hello Kevin.
>
>
The problem I am having is maybe about 1 out of 5 times the second form I have up over top of the main one will move to the back where I cannot do anything with it, still loaded, but now I have my main form up with different menus and such and if I try to go back into the second form, it is already open so I get errors there too.>
>I take it that the second form is modal and has AlwaysOnTop set to true? If so, set AlwaysOnTop to false and put this code in your base form class's activate():
>
>
>IF This.WindowType = 1
> This.AlwaysOnTop = .T.
> This.AlwaysOnTop = .F.
>ENDIF
>
That seems to be working for it. I am still not understanding why I would need to set those properties and why the actions are random, but forcing the ontop/onbottom properties seems to work fine. It is funny how many properties I have not needed to use over the many years of coding. Maybe someday I should roll down all of them and look at the discriptions on what they do. Anyways, thanks
``` Appreciate a normal day, it is always better than a bad one ```
Kev