Determines the maximum height to which a form can be sized. Available at design time and run time.
Syntax
Object.MaxHeight[ = nHeight]
Settings
nHeight
The maximum height, in the unit of measurement specified by the ScaleMode property of the form.
Remarks
When the user sizes a form by choosing either the Size command from the Control menu or by dragging the borders of the form, the form doesn't exceed the height specified in the MaxHeight property setting.
The default setting for the MaxHeight property is – 1; no maximum height is specified.