Specifies whether the access key is displayed in the label's text.
Declaration
| Read-Write Property | Boolean |
| componentPropObj | One of the objects listed in the Applies To section |
Applies To
This property applies to the following objects:
Description
The ShowAccelChar property specifies whether the access key is displayed in the label's text.
If this property is True, the character within the label’s Caption text is preceded with an ampersand (&) and appears underlined, and serves as the label’s access key. At that, if the FocusControl property is set, when the user presses the label’s access key while holding Alt, the input focus moves to the FocusControl control.
If ShowAccelChar is False, all ampersands within the label caption appear as they are, and the label has no access key.
Property Value
True, if the label character preceded with an ampersand appears underlined and serves as an access key. False, if ampersand characters appear in the label as ampersands. The default value is True.
