[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Handles an accelerator key for the control.
Source position: stdctrls.pp line 1107
protected function TCustomStaticText.DialogChar( |
var Message: TLMKey |
):Boolean; override; |
Message |
|
Message examined in the method. |
True if the message was handled as an accelerator key.
DialogChar is an overridden method in TCustomStaticText. It checks the character code in Message to determine if it is used as the accelerator (shortcut) in the Caption for the control. When the character code is found, the FocusControl is given focus and the return value is set to True.
If the character code is not found, the inherited method is called to broadcast the Message to child controls and get the return value.
|
The control that receives focus instead of this control. |
|
|
Determines whether the specified virtual key is used as an accelerator (short cut) in the given caption string. |
|
|
Is this control allowed to receive the focus when parent form is visible? |
|
|
The text displayed for the control. |
|
|
Performs actions needed to handle an accelerator key for the control. |
Version 4.0 | Generated 2025-05-03 | Home |