DesktopWindow.MaximumWidth

From Xojo Documentation

Property (As Integer )
aDesktopWindow.MaximumWidth = newIntegerValue
or
IntegerValue = aDesktopWindow.MaximumWidth

New in 2021r3

Supported for all project types and targets.

The maximum width (in points) to which the window can be resized.