Class definitions for a box with a list of files for selection TFileAttr - enumerated type listing file attributes for a file list box TFileType - set of file attributes TCustomFileListBox : base type for TFileListBox - a tool for listing files for selection DoChangeFile - method to change a file selection: calls the OnChange event handler UpdateFileList - brings the list of files up to date, taking into account any changes IndexOfFile - number of the selected file in the list of files The Drive on which the file is located (applies to Windows systems) The Directory or Folder in which the file is located FileName - the name of the selected file FileType - the type or attributes of the selected file Specifies which files will be shown

This property should be filled with a list of masks separated by semi-colons. For example: "*.pdf;*.svg" will show all files with the extensions pdf and svg. The default value for this property is "*" which for this control will be consider the generic mask meaning any file. Do not use the Windows specific mask "*.*" to attempt to show all files, which is the behavior from Delphi. In the LCL version of the control this will require the file name to have a point.

Allowed wildcarss are "*" which means zero or more characters and "?" which means exactly 1 character of any kind. Other characters represent themselves with one important detail: The file matching algorithm is case insensitive. So if you set "*.PDF" in the mask, then "PostScript.pdf" will also be shown, even in Linux in a case-sensitive file system.

This property has exactly the same rules and behavior as TFilterComboBox.Mask.

OnChange - event handler for a change in the file list or the selection TFileListBox - a tool for listing files for selection A combobox to select filename filters Allows to concect this control to a TShellListView The files shown in the TShellListView will be filtered by the filter selected in this control A combobox to select filename filters Returns a shortened version of a file name, so that it fits on the given MaxWidth

This function will return a shortened version of FileName, so that it fits on the given MaxWidth. It uses the Font currently selected in the given Canvas.

For example: C:\Documents and Settings\User\Application Data\Microsoft\Word\custom.dic would become something like: C:\...\Word\custom.dic