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

TPersistent.GetNamePath

Returns a string that can be used to identify the class instance.

Declaration

Source position: classesh.inc line 305

public function TPersistent.GetNamePath: String; virtual;

Description

GetNamePathreturns a string that can be used to identify the class instance. This can be used to display a name for this instance in a Object designer.

GetNamePathconstructs a name by recursively prepending the Classnameof the Ownerinstance to the Classnameof this instance, separated by a dot.

See also

TPersistent.GetOwner

  

Returns the owner of the component.