RAD Studio VCL Reference
TComponent.GetOwner Method

Returns the owner of a component.

function GetOwner: TPersistent; override;
virtual __fastcall TPersistent * GetOwner();

GetOwner is called by GetNamePath to find the owner of a component. GetNamePath and GetOwner are introduced in TPersistent so descendants such as collections can appear in the Object Inspector. For TComponent, GetOwner returns the value of the Owner property. 


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