TCustomShellTreeView.GetPathFromNode function
Returns the path (including the file name) for the file system object represented in the specified node.
Declaration
function GetPathFromNode(ANode: TTreeNode): stringDescription
GetPathFromNode casts the tree node in ANode to a TShellTreeNode type to access the file system-specific properties and methods for the node.
When IsDirectory returns True, the return value contains the path to the folder with a trailing path delimiter. Otherwise, the return value has the fully-qualified path for the file.
An absolute path in the return value includes the root directory prepended to the value.
See also
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
