Vcl.StdCtrls.TLabel.FocusControl

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property FocusControl: TWinControl read FFocusControl write SetFocusControl;

C++

__property FocusControl;

Properties

Type Visibility Source Unit Parent
property published
Vcl.StdCtrls.pas
Vcl.StdCtrls.hpp
Vcl.StdCtrls TLabel

Description

Designates a windowed control associated with the label.

Vcl.StdCtrls.TLabel.FocusControl inherits from Vcl.StdCtrls.TCustomLabel.FocusControl. All content below this line refers to Vcl.StdCtrls.TCustomLabel.FocusControl.

Designates a windowed control associated with the label.

Set FocusControl to the windowed control that should receive focus when the user presses the accelerator key specified by the label. Specify an accelerator key by preceding a character in the label text with an ampersand (&) and setting the ShowAccelChar property to true.

See Also