API:Vcl.ActnList.TCustomAction.Create
Delphi
constructor Create(AOwner: TComponent); override;
C++
__fastcall virtual TCustomAction(System::Classes::TComponent* AOwner);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | Vcl.ActnList.pas Vcl.ActnList.hpp |
Vcl.ActnList | TCustomAction |
Description
Instantiates and initializes a TContainedAction object.
Vcl.ActnList.TCustomAction.Create inherits from System.Actions.TContainedAction.Create. All content below this line refers to System.Actions.TContainedAction.Create.
Instantiates and initializes a TContainedAction object.
Applications do not need to call Create directly. Actions are created automatically when you choose New Action in the Action List editor.
Create calls the inherited System.Classes.TBasicAction.Create constructor and then initializes the Enabled (setting it to True), Visible (setting it to True), and ImageIndex (setting it to -1) properties.