ButtonEx ActiveX Control Reference
Returns/sets the text displayed on the Button.
Property type
A String value.
Syntax
object.Caption [= string]
The Caption property syntax has these parts:
| Part | Description |
| object | An expression evaluating to an object of type ButtonEx. |
| string | A String value. |
Remarks
When you create a new button, its default caption is the default Name property setting. This default caption includes the object name and an integer, such as ButtonEx1. For a more descriptive label, set the Caption property.
You can use the Caption property to assign an access key to the control. In the caption, include an ampersand (&) immediately preceding the character you want to designate as an access key. The character is underlined. Press the ALT key plus the underlined character to move the focus to that control. To include an ampersand in a caption without creating an access key, include two ampersands (&&). A single ampersand is displayed in the caption and no characters are underlined.
Problems, Suggestions, Praise concerning the documentation? Please send feedback.