Determines the maximum height to which a form can be sized. Available at design time and run time.
Object.MaxHeight[ = nHeight]
- The maximum height, in the unit of measurement specified by the ScaleMode property of the form.
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.