MinWidth Property

Applies To   See Also

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

Syntax

Object.MinWidth[ = nWidth]

Settings

nWidth

The minimum width 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 cannot be made any narrower than the width specified in the MinWidth property setting.

The default setting for the MinWidth property is  – 1; no minimum width is specified.