Vcl.Bind.Navigator.TBindNavigatePost.Create
Delphi
constructor Create(AComponent: TComponent); override;
C++
__fastcall virtual TBindNavigatePost(System::Classes::TComponent* AComponent)/* overload */;
/* TBindNavigateAction.Create */ inline __fastcall TBindNavigatePost(System::Classes::TComponent* AComponent, Data::Bind::Controls::TNavigateButton AButton)/* overload */ : TBindNavigateAction(AComponent, AButton) { }
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
constructor | public | Vcl.Bind.Navigator.pas Vcl.Bind.Navigator.hpp |
Vcl.Bind.Navigator | TBindNavigatePost |
Beschreibung
Erstellt und initialisiert ein TAction-Objekt.
Vcl.Bind.Navigator.TBindNavigatePost.Create erbt von Vcl.ActnList.TAction.Create. Der folgende Inhalt bezieht sich auf Vcl.ActnList.TAction.Create.
Erstellt und initialisiert ein TAction-Objekt.
Anwendungen erstellen Aktionsobjekte normalerweise nicht explizit. Aktionen werden automatisch erzeugt, wenn Sie sie beim Entwurf einer Aktionsliste oder einem Aktionsmanager hinzufügen. Sollten Sie ein TAction-Objekt zur Laufzeit instantiieren, weisen Sie die TActionList- oder TActionManager-Komponente der Eigenschaft ActionList der neuen Aktion zu (nach dem Aufruf von Create).
Create setzt die Eigenschaft DisableIfNoHandler auf True; das heißt, dass auf die Aktion nicht zugegriffen werden kann, wenn sie über keine OnExecute-Ereignisbehandlungsroutine verfügt.