FMX.Types.IRoot.GetActiveControl

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetActiveControl: IControl;

C++

virtual _di_IControl __fastcall GetActiveControl() = 0 ;

Properties

Type Visibility Source Unit Parent
function public
FMX.Types.pas
FMX.Types.hpp
FMX.Types IRoot

Description

Defines a method to get the current active control.

Implement it to get the current active control (focused control).

FMX.Forms.TCommonCustomForm implements GetActiveControl in order to get the value of the FActiveControl field.

See Also