RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWebContainedContainerComponent.HasParent Method

Indicates whether this component appears in another component's list of Web items.

Pascal
function HasParent: Boolean; override;
C++
virtual __fastcall Boolean HasParent();

TWebContainedContainerComponent overrides the HasParent method that is introduced in TComponent for the streaming system that loads and saves components. It returns true if the WebParent property is not nil (Delphi) or NULL (C++). 

If the contained component has a parent, that parent component is responsible for writing this component to a stream. 

 

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