Is there any way to control the Z position of a form except BringToFront/SendToBack? Specifically I'm trying to make it so when one form is brought to the front a second form comes up behind it. Closest I could get was something like:
CODE
Private Sub Form1_GotFocus(ByVal sender As Object, ByVal e as System.EventArgs) Handles Form1.GotFocus
Form2.BringToFront
Form1.BringToFront
End Sub
but of course that just starts a loop of switching back and forth between them because bringing Form2 to the front gives it focus, then focus returns to Form1 and sets of the event again...