RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
FileCtrl.TFileAttr Enumeration

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

Pascal
TFileAttr = (
  ftReadOnly,
  ftHidden,
  ftSystem,
  ftVolumeID,
  ftDirectory,
  ftArchive,
  ftNormal
);
C++
enum TFileAttr {
  ftReadOnly,
  ftHidden,
  ftSystem,
  ftVolumeID,
  ftDirectory,
  ftArchive,
  ftNormal
};

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.  

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!