FileAttributes property
|
dcFolderListView component.
|
type
|
TdcScanAttribute = (saNormal, saArchive, saReadOnly, saHidden, saSystem, saDirectory, saAny);
|
TdcScanAttributes = set of TdcScanAttribute;
|
|
property FileAttributes: TdcScanAttributes;
|
The SearchAttributes property specifies the possible file attributes for files or directories that should be displayed by dcFolderListView.
|
|
Possible values for file attributes is:
|
Value | Meaning
|
saNormal | The file or directory has normal or no attributes set. If True, dcFolderListView will display files even without any attributes set.
|
saArchive | The file or directory is an archive file or directory. This is standard file attributes. Applications use this flag to mark files for backup or removal. Set saArchive flag to True to find files with Archive attributes set.
|
This is normal DOS attribute that means that file is archived or copied to hard disk. Make saArchive True to find files with Archive attributes set. This file attribute usually obsolete in win32 systems, because all files kept on hard drives and even if they copied to floppy or CD, this attribute not cleaned. Anyway, this file attribute still used on most files.
|
saReadOnly | Attribute means that file or directory have read-only permission. Applications can read the file but cannot write to it or delete it. In the case of a directory, applications cannot delete it. Set saReadOnly to True to display files with Read-only attributes set.
|
saHidden | The file or directory is hidden. It is not included in an ordinary directory listing. Make saHidden True to show hidden files (note that hidden directories will not be found, unless the saDirectory is specified).
|
OS hide most files which destruction lead to system failure (such files like IO.SYS, MSDOS.SYS and so forth).
|
saSystem | The file or directory is part of, or is used exclusively by the operating system. Make saSystem True to find system files.
|
saDirectory | The "file or directory" is a directory (folder). Make saDirectory True to show folders ( if saHidden is True, dcFolderListView will also show hidden folders, i.e: "Recycled").
|
saAny | All (or any) attributes is set. Set saAny property to True to find files or directories with ANY file attributes.
|