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]

Return Value

  • 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

Applies To: Form | _SCREEN

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

Reference

MaxHeight Property

MaxWidth Property

MinHeight Property

ScaleMode Property

Other Resources

Events (Visual FoxPro)