RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWebContainedComponent.GetParentComponent Method

Returns the object that uses this component to generate HTML.

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

TWebContainedComponent 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.) 

 

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