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

TShellTreeNode.IsDirectory

Indicates if the tree node is a directory on the local file system.

Declaration

Source position: shellctrls.pas line 422

public function TShellTreeNode.IsDirectory: Boolean;

Function result

True when the tree node represents a directory on the local file system.

Description

IsDirectory is a Boolean function which indicates if the file system object for the tree node is a directory on the local file system. The return value is True when the file attributes in the internal TSearchRec instance for the tree node includes the faDirectory attribute.

Use HasChildren to determine if the shell tree node has child nodes representing files or sub-directories.

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.

TTreeNode.HasChildren

  

Indicates whether the tree node has child nodes.


Version 4.0 Generated 2025-05-03 Home