File Selection Dialog
File Selection Dialog:
- Filter combobox

- The user can enter a filter here so that only a subset of the
files in the current directory are listed. If the user
presses
<Return>
in this entry area, the filter is added
to the drop-down menu and a new set of files matching the
filter pattern is displayed.
- Directory listbox

- A list of directories is displayed in the listbox.
If the user double-left-clicks on a directory, that
directory is opened and the contents of the directory
are displayed.
- File listbox

- A list of the files in the current directory. Only files
matching the filter pattern are displayed. Left-clicking
on a file will place the full filename in the selection
combobox below. Double clicking on a filename is the same
as selecting the file and pressing the "OK" button.
- Selection combobox

- The currently selected filename is displayed here.
The user may type in a filename if desired. This is useful
when the user is saving information to a file. If the user
presses
<Return>
in this entry area, the displayed file is
added to the drop-down menu.
- OK button

- The file listed in the selection combobox is returned
as the selected file. Be careful, if no filename is displayed
then an empty filename is returned. The dialog will
close when this button is pressed.
- Filter button

- This button uses the current filter to display a new
set of filenames.
- Cancel button

- This button is used to abort the file selection process.
The dialog will close when this button is pressed, and no
action will be taken.