System.Win.TaskbarCore.TTaskbarBase.GetOwner

From RAD Studio API Documentation

Delphi

function GetOwner: TPersistent; override;

C++

DYNAMIC System::Classes::TPersistent* __fastcall GetOwner(void);

Properties

Type Visibility Source Unit Parent
function protected
System.Win.TaskbarCore.pas
System.Win.TaskbarCore.hpp
System.Win.TaskbarCore TTaskbarBase

Description

Returns the owner of a component. {{#multireplace:System.Win.TaskbarCore.TTaskbarBase.GetOwner|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:System.Classes.TComponent.GetOwner|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:System.Classes.TComponent.GetOwner|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

Returns the owner of a component.

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.

See Also