FMX.Forms.TForm.OnDeactivate
Delphi
property OnDeactivate: TNotifyEvent read FOnDeactivate write FOnDeactivate;
C++
__property OnDeactivate;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | FMX.Forms.pas FMX.Forms.hpp |
FMX.Forms | TForm |
Description
Occurs when the form loses focus.
FMX.Forms.TForm.OnDeactivate inherits from FMX.Forms.TCommonCustomForm.OnDeactivate. All content below this line refers to FMX.Forms.TCommonCustomForm.OnDeactivate.
Occurs when the form loses focus.
Use OnDeactivate to perform special processing when the active form becomes inactive and another form in the same application becomes the active one. If activation goes to another application, this event is not triggered.