Sign in Join
FPDoc Onlineexperiment

TCustomStaticText.FocusControl property

Member of TCustomStaticTextpublicIn unit StdCtrls

The control that receives focus instead of this control.

Declaration

pascal
property FocusControl: TWinControl read FFocusControl write SetFocusControl;

Description

FocusControl is a TWinControl property with the control given focus when the accelerator (shortcut) key is handled for the control. The accelerator is defined using the '&' character in the Caption for the control. If the key is detected and handled in DialogChar, the control in FocusControl is given focus.

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.