FMX.Platform.IFMXApplicationEventService.SetApplicationEventHandler
Delphi
procedure SetApplicationEventHandler(AEventHandler: TApplicationEventHandler);
C++
virtual void __fastcall SetApplicationEventHandler(TApplicationEventHandler AEventHandler) = 0 ;
Eigenschaften
| Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
|---|---|---|---|---|
procedure function |
public | FMX.Platform.pas FMX.Platform.hpp |
FMX.Platform | IFMXApplicationEventService |
Beschreibung
Definiert eine Ereignisbehandlungsroutine für Anwendungsereignisse.
Dieses Ereignis stellt seiner Ereignisbehandlungsroutine die folgenden Argumenten bereit:
AAppEventgibt den Typ des Ereignisses an, wie TApplicationEvent.FinishedLaunching.AContextist ein Objekt, das zusätzlichen Kontext bereitstellt. Häufig bietet der Typ des Ereignisses genügend Informationen, undAContextist null.