RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBasicAction.Create Constructor

Instantiates and initializes a TBasicAction object.

Pascal
constructor Create(AOwner: TComponent); override;
C++
virtual __fastcall TBasicAction(TComponent * AOwner);

Applications do not need to instantiate TBasicAction directly. Actions are created automatically when you choose New Action in the action list editor. If you want to create an action at runtime, call Create and assign a TActionList component to its ActionList property. 

Create calls the inherited constructor and then creates its sub-objects, which includes a list of clients that are action links. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!