MaxWidth Property

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

Object.MaxWidth[ = nMaxWidth]

Property Values

  • nMaxWidth
    Specifies the maximum width a 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 dragging the borders of the form, the form doesn't exceed the width specified in the MaxWidth property setting.

The default for the MaxWidth property setting is –1; no maximum width is specified.

See Also

MaxHeight Property | MinHeight Property | MinWidth Property | ScaleMode Property

Applies To: Form | _SCREEN