DesktopWindow.MaximumHeight

From Xojo Documentation

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

New in 2021r3

Supported for all project types and targets.

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