Window.MaxHeight

From Xojo Documentation

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

Supported for all project types and targets.

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