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
};

FileCtrl

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.  

 

SelectDirectory

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!