Sign in Join
FPDoc Onlineexperiment

TShellTreeNode.BasePath property

Member of TShellTreeNodepublicIn unit ShellCtrls

Contains the base path to the file system object in the tree node.

Declaration

pascal
property BasePath: string read FBasePath;

Description

BasePath is a read-only String property which contains the base path on the local file system to the object in the tree node. It contains an empty string ('') when the file system object is located at the root of the tree.

The value for the property is assigned by calling SetBasePath when the tree node is created in TCustomShellTreeView / TShellTreeView methods.

Use ShortFilename to get the name for the tree node without path information.

See also

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.