FMX.Forms.TForm.ActiveControl
Delphi
property ActiveControl;
C++
__property ActiveControl;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | FMX.Forms.pas FMX.Forms.hpp |
FMX.Forms | TForm |
Description
Specifies the active control on the form.
FMX.Forms.TForm.ActiveControl inherits from FMX.Forms.TCustomForm.ActiveControl. All content below this line refers to FMX.Forms.TCustomForm.ActiveControl.
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.