RAD Studio VCL Reference
TComponent.GetChildOwner Method

Returns the owner of a child component being read from a stream.

function GetChildOwner: TComponent; dynamic;
__fastcall TComponent * GetChildOwner();

GetChildOwner is used internally by the component streaming system. It is rarely necessary to call it directly. 

In TComponent, GetChildOwner always returns nil (Delphi) or NULL (C++), indicating that the owner is the root component currently being read (usually a form or data module). The Owner of a component is responsible for destroying it. 


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