[Overview][Types][Classes][Procedures and functions][Index] |
Indicates the sort type used for items in the tree.
Source position: shellctrls.pas line 139
public property TCustomShellTreeView.FileSortType : TFileSortType |
FileSortType is a TFileSortType property used to indicate the sort order for tree nodes in the Items property. The default value for the property is fstNone, and indicates the default sort order is used for tree nodes. See TFileSortType for information about the enumeration values and their meanings.
Changing the value in FileSortType causes the Items property to be cleared, and tree nodes to be reloaded. If Root has not been assigned, PopulateWithBaseFiles is used to fill the Items property. Otherwise, the path to the Selected node is restored to the Path property (if it still exists on the local file system).
No action other than setting the property value is performed in the method at design-time.
The value in FileSortType is used in the PopulateTreeNodeWithFiles method and passed as an argument to an internal method used to load the files in a given path name.
Remark: | The value in FileSortType is not used in PopulateWithBaseFiles on Windows platforms. The entries are logical drive letters processed in the order provided by the file system. |
|
Represents sorting options for the items in a shell control. |
|
|
Exception raised for an invalid path in shell controls. |
|
|
The container with the TTreeNode instances for the control. |
|
|
Indicates the directory to start showing the list of items. |
|
|
Path to the directory displayed in the shell control. |
|
|
Checks whether the specified path is a valid file system object and type for the tree view control. |
|
|
Fills the tree view when the Root directory is empty. |
|
|
Adds tree nodes for file system objects found starting at the specified node / path. |