RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TComponent.SetParentComponent Method

Sets the parent component.

Pascal
procedure SetParentComponent(Value: TComponent); dynamic;
C++
__fastcall SetParentComponent(TComponent * Value);

SetParentComponent is used internally in the component streaming system. It is not necessary to call it directly.  

Derived classes override this method to implement proper handling for parenting. 

 

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