[Overview][Types][Classes][Procedures and functions][Index] |
Indicates how the items should be sorted in the tree.
Source position: shellctrls.pas line 136
public property TCustomShellTreeView.FileSortType : TFileSortType |
FileSortType is a TFileSortType property used to indicate the sort order for tree nodes in the Items property. See TFileSortType for information about enumeration values and their meanings.
Changing the value in FileSortType causes the Items property to be cleared, and the tree nodes to be re-created for the Path when Root has been assigned. If Root contains an empty string (''), the PopulateWithBaseFiles method is called. Otherwise, the Path is updated to force the control to be reloaded.
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 the internal GetFilesInDir procedure.
Remark: | The value in FileSortType is not used in PopulateWithBaseFiles on Windows platforms. The entries are logical drive letters, and are 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. |
|
|
Fills the tree view when the Root directory is empty. |
|
|
Adds tree nodes for file system objects found starting at the specified node / path. |