[Overview][Types][Classes][Procedures and functions][Index] |
Enumerated type with file and directory attributes used in TFileListBox.
Source position: filectrl.pp line 40
type TFileAttr = ( |
||
ftReadOnly, |
|
File is read-only. |
ftHidden, |
|
File is hidden. For UNIX-like environments, this means that the file name starts with a '.' (Period) character. |
ftSystem, |
|
File is a system file. For UNIX-like environments, this means that it is a character, block, or FIFO file. |
ftVolumeID, |
|
Drive Volume label used on the Windows FAT (not FAT32) file system. Volume labels are not used on UNIX-like file systems. |
ftDirectory, |
|
File attribute for a directory entry. |
ftArchive, |
|
File is ready to be archived. Not used for UNIX-like file systems. |
ftNormal |
|
File has no other file attributes. |
); |
TFileAttr is an enumerated type with values that represent file and directory attributes for a selection in TFileListBox. Values from TFileAttr are stored in the TFileType set, which is used to implement the FileType property in TFileListBox.
Values in TFileAttr generally correspond to the file attributes used in TSearchRec from the FreePascal RTL (Run-Time Library). The differences are:
|
Implements a file selection list box control. |
|
|
Set type used to store file attributes. |
|
Version 3.2 | Generated 2024-02-25 | Home |