FMX.Types.IRoot.GetActiveControl
Delphi
function GetActiveControl: IControl;
C++
virtual _di_IControl __fastcall GetActiveControl(void) = 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.