ToggleButton.Caption Property (Access)

Gets or sets the text that appears in the control. Read/write String.

Syntax

expression .Caption

expression A variable that represents a ToggleButton object.

Remarks

The Caption property is a string expression that can contain up to 2,048 characters.

If you don't set a caption for a form, button, or label, Microsoft Access will assign the object a unique name based on the object, such as "Form1".

See Also

Concepts

ToggleButton Object Members

ToggleButton Object