AutoSize Property

Applies To   See Also

Specifies whether a control is automatically resized to fit its contents. Available at design time and run time.

Syntax

Control.AutoSize[ = lExpr]

Settings

lExpr

Specifies whether a control is resized to fit its contents. The settings for the AutoSize property are:

Setting Description
True (.T.) The control is automatically resized to fit its contents.
False (.F.) (Default) The contents are clipped when they exceed the area of the control.

Remarks

For OLE Container controls, Autosize applies only to OLE objects that support in-place editing. The Sizable property must be set to true (.T.) to change the size of an OLE object during in-place editing.