RAD Studio VCL Reference
TCustomAction.Create Constructor

Instantiates and initializes a TCustomAction object.

constructor Create(AOwner: TComponent); override;
virtual __fastcall TCustomAction(TComponent * AOwner);

Applications do not need to call the constructor directly. Actions are created automatically when you add them to an action manager or action list component at design time. If you want to create an action at runtime, assign a TActionList or TActionManager component to its ActionList property after calling Create. 

AOwner is the component that is responsible for freeing the action. It becomes the value of the Owner property. 


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