ShowAccelChar Property

Applies to TestComplete 15.70, last modified on December 17, 2024

Specifies whether the access key is displayed in the label's text.

Declaration

componentPropObj.ShowAccelChar
Read-Write Property Boolean
componentPropObj     One of the objects listed in the Applies To section  

Applies To

This property applies to the following objects:

TcxLabelProperties

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.

See Also

Caption Property
FocusControl Property

Highlight search results