Window.Maximize method

From Xojo Documentation



Supported for all project types and targets.

Maximizes the window if it is not already maximized and calls the Maximize event handler. If the window was already maximized when you call this method, then it is restored to its prior state and calls the Restore event handler.


If the window is not visible when Maximize is called, it becomes visible.