Sign in Join
FPDoc Onlineexperiment

TCollection.GetNamePath function

Member of TCollectionpublicIn unit Classes

Overrides GetNamePath to return a proper pathname.

Declaration

pascal
function GetNamePath: string; override

Description

GetNamePath returns the name path for this collection. If the following conditions are satisfied:

  1. There is an owner object.
  2. The owner object returns a non-empty name path.
  3. 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.