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:
AAppEvent
gibt den Typ des Ereignisses an, wie TApplicationEvent.FinishedLaunching.AContext
ist ein Objekt, das zusätzlichen Kontext bereitstellt. Häufig bietet der Typ des Ereignisses genügend Informationen, undAContext
ist null.