Label.getUseMnemonic

Overview | Methods | This Package | All Packages

Label.getUseMnemonic

Retrieves a value indicating whether the label interprets an ampersand (&) character in the label's text to be an access key prefix character.

Syntax

public final boolean getUseMnemonic()

Return Value

Returns true if the label removes the ampersand character and underlines the character after the ampersand in its displayed text and treats the underlined character as an access key; returns false if the label displays any ampersand characters included in its text.

Remarks

Use the setText property to set the text for the label.

See Also   setUseMnemonic