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