AutoLabel Property [Access 2003 VBA Language Reference]

The AutoLabel property specifies whether labels are automatically created and attached to new controls. Read/write Boolean.

expression.AutoLabel

expression Required. An expression that returns one of the objects in the Applies To list.

Setting

The AutoLabel property uses the following settings.

Setting Description
Yes A label is attached to new controls.
No A label isn't attached to new controls.

You can set these properties only by using a control's default control style or the DefaultControl property in Visual Basic.

Remarks

Changes to the default control style setting affect only controls created on the current form or report. To change the default control style for all new forms or reports that you create without using a Microsoft Access wizard, see Specify a new template for forms and reports .

Applies to | BoundObjectFrame Object | CheckBox Object | ComboBox Object | CommandButton Object | ListBox Object | OptionButton Object | OptionGroup Object | SubForm Object | TextBox Object | ToggleButton Object

See Also | AddColon Property