FileListBox

Object List Hierarchy Next Object

Definition:

A FileListBox finds and lists files in a specific directory and allows the user to select from the list.

Icon: images/Phx00183.gif

Added Features:

The following tables list and describe the properties and methods added by FileListBox. There are no added events.


Properties Use to...


Filter Specify the filters that are displayed in the list area of the file type ComboBox.

Path Specify the path to display.

SelPath Determine the exact path to the highlighted entry.

SelType Determine if the highlighted entry is a File, Directory, Drive, or nothing.

ShowDirs Specify if a directory should be displayed.

ShowDrives Specify if drives should be displayed.

ShowFiles Specify if files should be displayed.


Methods Use to...


SelectDrive Force the system to highlight a specific drive.

Copied Features:

images/Phx00184.gif Properties images/Phx00185.gif Methods images/Phx00186.gif Events

Details:

The FileListBox can be set up to display forms that provide a list of file names that have been grouped by certain file attributes. The control lists all the files in the directory specified by the control's current path. A user can select one of these files for further use. At startup, the path defaults to the current directory.

If you also display the directory list box and drive list box controls you can write code to accommodate them with the FileListBox and with each other.