RAD Studio VCL Reference
TControl.SetParentComponent Method

Sets the parent for the control.

procedure SetParentComponent(Value: TComponent); override;
virtual __fastcall SetParentComponent(TComponent * Value);

Do not call the SetParentComponent method. It is used by the streaming system that loads and saves VCL components. SetParentComponent makes the component specified by the Value parameter the parent of the control. 

SetParentComponent calls the SetParent method only if the component specified as the parent is a windowed control. 


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