Control focused when the accelerator key for the label is detected.
Source position: extctrls.pp line 966
public property TBoundLabel.FocusControl : TWinControl; |
FocusControl is a public TWinControl property in TBoundLabel. A label control cannot receive the input focus (it is read-only), but can display an accelerator key indicator, just like a menu entries. A windowed control (Edit...) can receive focus, but cannot indicate an accelerator key.
An accelerator key is designated using an Ampersand '&' in the label Caption, immediately preceding the character to be used as the accelerator key. The marked character appears with an underline on the screen when ShowAccelChar is set to True.
FocusControl receives key messages in the DialogChar method.
|
Performs actions needed to handle an accelerator key for the control. |
|
|
The control associated with the label and its accelerator key (AccelChar). |
|
|
Underlines the character in the label that acts as the accelerator or short cut key. |
Lazarus Component Library (LCL) | Version 4.99-c654d3a90f (2025-03-09) | Home |