Represents sorting options for the items in a shell control.
Source position: shellctrls.pas line 44
type TFileSortType = ( |
||
fstNone, |
|
No special sorting is done; items will appear in the order provided by the file system. |
fstAlphabet, |
|
Items are sorted alphabetically with folders and files mixed. |
fstFoldersFirst, |
|
Items are sorted alphabetically with folders placed at the beginning of the list. |
fstCustom |
|
Items are sorted using a user-defined compare function for files and directories. The sort routine should return a negative value if the first item comes before the second item, a positive value when the first item comes after the second item, or 0 (zero) when both items have the same value. |
); |
TFileSortType is an enumerated type with values that control the sort order for the items in a shell control. TFileSortType is the type used to implement the TCustomShellTreeView.FileSortType property.
|
Indicates the sort type used for items in the tree. |
|
|
Event handler signalled to compare file items in a custom sort routine. |
|
|
Implements a handler routine used to compare values in a custom file sort for TCustomShellTreeView. |
Lazarus Component Library (LCL) | Version 3.99-1d79f9e4df (2024-03-21) | Home |