API:FMX.ActnList.TCustomAction.CreateShortCutList
Delphi
function CreateShortCutList: TCustomShortCutList; override;
C++
virtual System::Actions::TCustomShortCutList* __fastcall CreateShortCutList();
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
function | protected | FMX.ActnList.pas FMX.ActnList.hpp |
FMX.ActnList | TCustomAction |
Beschreibung
Gibt ein Interface zum Erstellen des ShortCutList-Objekts für die Aktion an.
FMX.ActnList.TCustomAction.CreateShortCutList erbt von System.Actions.TContainedAction.CreateShortCutList. Der folgende Inhalt bezieht sich auf System.Actions.TContainedAction.CreateShortCutList.
Gibt ein Interface zum Erstellen des ShortCutList-Objekts für die Aktion an.
In der Implementierung in TContainedAction erstellt CreateShortCutList kein ShortCutList-Objekt und gibt einfach nil
zurück. Da FMX- und VCL-Implementierungen der Tastaturbefehle Framework-spezifisch sind, wird CreateShortCutList von abgeleiteten FMX- und VCL-Klassen überschrieben, um FMX- und VCL-Implementierungen von Tastaturbefehlslisten zu erstellen (z.B. FMX.ActnList.TCustomAction.CreateShortCutList und Vcl.ActnList.TCustomAction.CreateShortCutList).