Sign in Join
FPDoc Onlineexperiment

TShellTreeNode.FullFilename function

Member of TShellTreeNodepublicIn unit ShellCtrls

Gets the full file name including path for the item represented in the tree node.

Declaration

pascal
function FullFilename: string

Description

FullFilename is a String function used to get the full path and name for the file system object represented by the tree node. When BasePath is not empty (a root node), it is included in the return value followed by a path delimiter and the value in Text ( ShortFilename). For a root node, only the value in Text is used.

Trailing path delimiters are not included in the property value for directory nodes, and are not needed for file nodes. On Windows platforms (other than WinCE), device identifiers (like 'C:') are modified to include a trailing path delimiter ('C:\').

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.