[Overview][Types][Classes][Procedures and functions][Index] Reference for unit 'FileCtrl' (#lcl)

TFileType

Set type used to store file attributes.

Declaration

Source position: filectrl.pp line 43

type TFileType = set of (

  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.

);

Description

TFileType is a set type used to store zero (0) or more enumeration values from TFileAttr. TFileType is the type used to implement the FileType property in TFileListBox.

See also

TFileAttr

  

Enumerated type with file and directory attributes used in TFileListBox.

TFileListBox.FileType

  

FileType - the type or attributes of the selected file.


Version 3.2 Generated 2024-02-25 Home