>On key label F11 do ShiftWindowState > >Procedure ShiftWindowState > If thisform.WindowState= 0 > thisform.WindowState= 2 > Else > thisform.WindowState= 0 > Endif >EndprocYou can try this for a bit shorter code.
_screen.WindowState = BITXOR(_screen.WindowState,2)