Sign in Join
FPDoc Onlineexperiment

TCustomShellTreeView.GetRootPath function

Member of TCustomShellTreeViewpublicIn unit ShellCtrls

Returns the effective value for Root when an explicit value has not been assigned.

Declaration

pascal
function GetRootPath: string

Description

If Root has an non-empty string value, it is used as the return value. Otherwise, GetBasePath is called to get the root designation for the platform. A trailing path delimiter is appended to the return value if it is not already present.

GetRootPath is called from GetPathFromNode when a relative path is found in the fully-qualified path for a node. It is also called from the Refresh method to get a path when a tree node is not specified as an argument to the method.

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