I want to close a child window without only whithout shutting down the whole app. If I press the X on the child window it shuts down the whole app.
Is this possible?
Is this possible?
Select WaitEvent() Case EVENT_WINDOWCLOSE If EventSource()=mainwin ' close all windows (max will close child window too) FreeGadget mainwin EndIf If EventSource()=childwin ' close the child window only FreeGadget childwin EndIf End Select