Sign in Join
FPDoc Onlineexperiment

TShellTreeNode.ShortFilename function

Member of TShellTreeNodepublicIn unit ShellCtrls

Gets the name for the item represented in the tree node.

Declaration

pascal
function ShortFilename: string

Description

ShortFilename is a String function used to get the short file name for the item represented in the tree node. The return value contains the value in the Text property for the tree node, and represents the name for the file system entry without drive or path information.

Use FullFilename to get the complete name which includes complete path information for the item represented in the tree node.

See also

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