RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWebContainedContainerComponent.GetParentComponent Method

Returns the object that uses this component to generate HTML.

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

TWebContainedContainerComponent overrides the GetParentComponent method that is introduced in TComponent for the streaming system that loads and saves components. It returns the value of the WebParent property (the object that uses the HTML generated by this component when assembling its own portion of an HTML document.) 

 

GetParentComponent 

HasParent 

WebParent

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!