Partager via


MinWidth Property

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

Object.MinWidth[ = nWidth]

Property Values

  • 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.

See Also

MaxHeight Property | MaxWidth Property | MinHeight Property | ScaleMode Property

Applies To: Form | _SCREEN