TFileSortType enumeration
Represents sorting options for the items in a shell control.
Declaration
TFileSortType = (fstNone,fstAlphabet,fstFoldersFirst,fstCustom)Description
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.
See also
Values
fstNone | No special sorting is done; items will appear in the order provided by the file system. |
fstAlphabet | Items are sorted alphabetically (case-insensitive) with folders and files mixed. |
fstFoldersFirst | Items are sorted alphabetically (case-insensitive) with folders placed at the beginning of the list prior to any file entries in 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. |
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
