MinHeight Property

Applies To   See Also

Specifies the minimum height that a form can be resized to. Available at design time and run time.

Syntax

Object.MinHeight[ = nHeight]

Settings

nHeight

The minimum height that the form can be resized to, 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 become any shorter than the height specified in the MinHeight property setting.

The default setting for the MinHeight property setting is –1; no minimum height is specified.