MaxWidth Property

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

Object.MaxWidth[ = nMaxWidth]

Return Value

  • 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

Applies To: Form | _SCREEN

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

Reference

MaxHeight Property
MinHeight Property
MinWidth Property
ScaleMode Property

Other Resources

Properties (Visual FoxPro)