AddColon Property [Access 2003 VBA Language Reference]

The AddColon property specifies whether a colon follows the text in labels for new controls.
Read/write Boolean.

expression.AddColon

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

Setting

The AddColon property uses the following settings.

Setting Description
Yes A colon follows the text in labels for new controls.
No A colon doesn't follow the text in labels for 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 | AutoLabel Property