Vcl.StdCtrls.TCustomLabel.FocusControl

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property FocusControl: TWinControl read FFocusControl write SetFocusControl;

C++

__property Vcl::Controls::TWinControl* FocusControl = {read=FFocusControl, write=SetFocusControl};

Properties

Type Visibility Source Unit Parent
property protected
Vcl.StdCtrls.pas
Vcl.StdCtrls.hpp
Vcl.StdCtrls TCustomLabel

Description

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