Vcl.StdCtrls.TCustomStaticText.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 TCustomStaticText

Description

Links the component with another windowed control.

Use the FocusControl property to link the TCustomStaticText instance with another windowed control. If the text of Caption includes an accelerator key, the component specified by FocusControl receives focus when the accelerator is pressed.

See Also