RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAdapterSubComponent.HasParent Method

Indicates whether this component has an associated adapter.

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

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

If the TAdapterSubComponent object 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!