FMX.Forms.TForm.OnActivate
Delphi
property OnActivate: TNotifyEvent read FOnActivate write FOnActivate;
C++
__property OnActivate;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | FMX.Forms.pas FMX.Forms.hpp |
FMX.Forms | TForm |
Description
Occurs when the form becomes active.
FMX.Forms.TForm.OnActivate inherits from FMX.Forms.TCommonCustomForm.OnActivate. All content below this line refers to FMX.Forms.TCommonCustomForm.OnActivate.
Occurs when the form becomes active.
Use OnActivate to perform special processing when the form receives focus. A form becomes active when the focus is transferred to it (when the user clicks in the form, for example).