RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWebContainedComponent.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();

TWebContainedComponent 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) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!