FMX.Forms.TCustomForm.ActiveControl

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ActiveControl: TControl read GetActiveHDControl write SetActiveHDControl;

C++

__property Fmx::Controls::TControl* ActiveControl = {read=GetActiveHDControl, write=SetActiveHDControl};

Properties

Type Visibility Source Unit Parent
property public
FMX.Forms.pas
FMX.Forms.hpp
FMX.Forms TCustomForm

Description

Specifies the active control on the form.

Use ActiveControl to get or set the active control (having the focus) on the form. Only one control can have the focus at a given time, in an application. If the form does not have the focus, ActiveControl is the control, on the form, that receives the focus when the form itself receives the focus.

See Also