Vcl.FileCtrl.TFileAttr

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TFileAttr = (ftReadOnly, ftHidden, ftSystem, ftVolumeID, ftDirectory,
ftArchive, ftNormal);

C++

enum DECLSPEC_DENUM TFileAttr : unsigned char { ftReadOnly, ftHidden, ftSystem, ftVolumeID, ftDirectory, ftArchive, ftNormal };

Properties

Type Visibility Source Unit Parent
enum public
Vcl.FileCtrl.pas
Vcl.FileCtrl.hpp
Vcl.FileCtrl Vcl.FileCtrl

Description

TFileAttr and TFileType determine which files a file list box displays.

TFileType is a set of TFileAttr values. These are the possible TFileAttr values:



Value Meaning

ftReadOnly

The list box displays files with the read-only attribute.

ftHidden

The list box displays files with the hidden attribute.

ftSystem

The list box displays system files.

ftVolumeID

The list box displays the volume name.

ftDirectory

The list box displays directories.

ftArchive

The list box displays files with archive attribute.

ftNormal

The list box displays files with no special attributes.



See Also