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

TShellTreeNode.BasePath

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

Declaration

Source position: shellctrls.pas line 424

public property TShellTreeNode.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

TShellTreeNode.SetBasePath

  

Sets the value in the BasePath property.

TCustomShellTreeView.PopulateTreeNodeWithFiles

  

Adds tree nodes for file system objects found starting at the specified node / path.

TCustomShellTreeView.PopulateWithBaseFiles

  

Fills the tree view when the Root directory is empty.

TCustomShellListView.PopulateWithRoot

  

Fills the list view with file system information for the directory in Root.


Version 4.0 Generated 2025-05-03 Home