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

# TCustomFileListBox.FileType

FileType - the type or attributes of the selected file.

## Declaration

Source position: filectrl.pp line 76

`public property TCustomFileListBox.FileType : TFileType read FFileType write SetFileType default [ftNormal];`

## Description

FileType is a TFileType set property which contains zero (0) or more values from the TFileAttr enumeration. FileType determines the file system entries displayed in the list box control. See TFileAttr for more information about the enumeration values and their meanings.

The default value for the property is [ftNormal].

Assigning a new set value for the property causes the UpdateFileList method to be called to reload the file system entries stored in the Items property.

## See also

TCustomFileListBox.UpdateFileList |  | Loads the list of files and/or directories for the list box control.
TFileType |  | Set type used to store file attributes.
TFileAttr |  | Enumerated type with file and directory attributes used in TFileListBox.
TCustomListBox.Items |  | The list of all items defined in the control.