FMX.Platform.IFMXApplicationEventService.SetApplicationEventHandler
Delphi
procedure SetApplicationEventHandler(AEventHandler: TApplicationEventHandler);
C++
virtual void __fastcall SetApplicationEventHandler(TApplicationEventHandler AEventHandler) = 0 ;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
public | FMX.Platform.pas FMX.Platform.hpp |
FMX.Platform | IFMXApplicationEventService |
Description
Defines an event handler for application events.
This event provides the following arguments to its event handler:
AAppEventindicates the type of the event, such as TApplicationEvent.FinishedLaunching.AContextis an object that provides additional context. Often the type of event is enough information andAContextis null.