FMX.Forms.TScreen.ActiveForm
Delphi
property ActiveForm: TCommonCustomForm read GetActiveForm write SetActiveForm;
C++
__property TCommonCustomForm* ActiveForm = {read=GetActiveForm, write=SetActiveForm};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | FMX.Forms.pas FMX.Forms.hpp |
FMX.Forms | TScreen |
Description
Indicates which form currently has focus.
Read ActiveForm to learn which form in the application has input focus. If the application is not currently active, ActiveForm is the form that will have focus when the application becomes active again.
ActiveForm is a read-only property. To change the ActiveForm, use the Active method of the form that should receive focus.