Window.HasMaximizeButton

From Xojo Documentation

Read-Only Property (As Boolean )
BooleanValue = aWindow.HasMaximizeButton

New in 2019r2

Supported for all project types and targets.

If True, the window has an enabled Maximize button in its Title bar.

Notes

You can only change this setting while in the Window Layout Editor.

Starting with macOS 10.11 (El Capitan), the Maximize button is treated as a full screen button. You do not have to specifically set HasFullScreenButton to True. In order for the user to maximize a window rather than put it into Full Screen Mode, they should Option-Click on the Maximize button or double-click the title bar.