TCollection.GetNamePath function
Overrides GetNamePath to return a proper pathname.
Declaration
function GetNamePath: string; overrideDescription
GetNamePath returns the name path for this collection. If the
following conditions are satisfied:
- There is an owner object.
- The owner object returns a non-empty name path.
- The Propname property is not empty
collection has an owner and the owning object has a name, then the function returns the owner name, followed by the propname. If one of the conditions is not satisfied, then the classname is returned.
See also
- GetOwner
- Propname
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
