JavaScript Editor js editor     Web development 



Main Page

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

Control.AutoSize[ = lExpr]

Return Value

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

Applies To: CheckBox Control | CommandButton Control | CommandGroup Control | Label Control (Visual FoxPro) | OLE Bound Control | OLE Container Control | OptionButton Control | OptionGroup Control

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.

See Also



JavaScript Editor js editor     Web development