[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Classes' (#rtl)

TPersistent.GetOwner

Returns the owner of the component.

Declaration

Source position: classesh.inc line 386

protected function TPersistent.GetOwner: TPersistent; dynamic;

Description

GetOwner returns the owning component of the classes instane. The TPersistent implementation of GetOwner returns Nil. TComponent overrides this method.

See also

TComponent

  

Base class for all components that need owner-owned functionality.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.