[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Indicates if an accelerator character is drawn in the displayed text.
Source position: stdctrls.pp line 1114
public property TCustomStaticText.ShowAccelChar : Boolean |
ShowAccelChar is a Boolean property which indicates if the character used as an accelerator key is drawn with an underline in the control.
An accelerator character is any value with a leading Ampersand (&) character in Caption. To use an Ampersand character as an accelerator, it must be entered as 2 Ampersand characters (&&).
Set ShowAccelChar to True to enable underline drawing for the accelerator character. The default value for the property is True. Changing the value in the property causes the InvalidatePreferredSize method to be called to update the bounds for the control.
The value in ShowAccelChar is used in widgetset class methods, such as when the text value is assigned and when the handle for the control is created (or re-created).
Use FocusControl to specify the control which receives focus when the accelerator key is handled in DialogChar.
|
The control that receives focus instead of this control. |
|
|
Handles an accelerator key for the control. |
|
|
Returns the Caption for the control. |
|
|
The text describing the control to the user. |
|
|
Marks the preferred size as invalid for this control and all parents (implies that we will look for another). |
lazarus-ccr.sourceforge.net |