Determines if a form is automatically sized to contain its objects when the form is opened.

Property of

Form, SubForm

Description

Use autoSize to determine how a form is sized and proportioned.

If you set the autoSize property of a form to true, the form is automatically adjusted to contain its objects when it is opened. If you set autoSize to false, the form assumes its assigned height and width when it is opened.

When you set the autoSize property of a form to true, the default dimensions are ignored. The user can still move or resize the form, but if the form is closed and reopened it is automatically resized again to contain its objects.