RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TContainedAction.GetParentComponent Method

Returns the action list or action manager that contains the action.

Pascal
function GetParentComponent: TComponent; override;
C++
virtual __fastcall TComponent * GetParentComponent();

GetParentComponent is called by the streaming system that loads and saves components. It ensures that objects are loaded and saved with their parent objects. TContainedAction overrides the inherited method to identify the associated action list or action manager as the action's parent. 

 

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