RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAdapterSubComponent.SetParentComponent Method

Sets the Adapter property to be the same as this component's parent.

Pascal
procedure SetParentComponent(AParent: TComponent); override;
C++
virtual __fastcall SetParentComponent(TComponent * AParent);

TAdapterSubComponent overrides the SetParentComponent method that is introduced in TComponent for the streaming system that loads and saves components. It sets the Adapter property to AParent, so that it is the same as the parent that loads and saves this component. 

 

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