From Xojo Documentation
The window has been maximized.
This event handler is called when the window is maximized.
This can occur when the user selects one of the window buttons or menu commands for the action. The event handler may also be called using one of the following methods, depending on the state of the window: