Expand Minimize
This topic has not yet been rated - Rate this topic

MaxWidth Property

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


Object.MaxWidth[ = nMaxWidth]
nMaxWidth

Specifies the maximum width a form can be resized to, in the unit of measurement specified by the ScaleMode property of the form.

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.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.