[Overview][Types][Classes][Procedures and functions][Index] Reference for unit 'ShellCtrls' (#lcl)

TShellTreeNode.ShortFilename

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

Declaration

Source position: shellctrls.pas line 362

public function TShellTreeNode.ShortFilename: string;

Function result

Short file name for the item represented in the tree node.

Description

ShortFilename is a String function used to get the short file name for the item represented in the tree node. ShortFilename tries to get the file name from an internal TSearchRec for the tree node. If the file name is an empty string (''), the name in the search record is used as the return value. ShortFilename does not include path information in the return value.

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

See also

TShellTreeNode.FullFilename

  

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

The latest version of this document can be found at lazarus-ccr.sourceforge.net.