Window.MaxWidth

From Xojo Documentation

Property (As Integer )
aWindow.MaxWidth = newIntegerValue
or
IntegerValue = aWindow.MaxWidth

Supported for all project types and targets.

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