Window.MaximumHeight

From Xojo Documentation

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

New in 2019r2

Supported for all project types and targets.

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