File Selection Dialog
A file selection dialog box is for selecting a file name. It contains
the following elements:
- Files: It contains the filter for the file list when the dialog is
first invoked. Later on, it contains the selected file name.
- File list: It contains a list of files that match the selected
file type. Clicking on a file name selects this file. Double
clicking on a file name selects the file and closes this dialog.
- List Files of Type: It can be used to choose a specific type of
files to be listed in the file list.
- Directory: It displays a directory which can be changed.
- Directory list: It display a directory tree. Double click on a
directory displays all its subdirectory and all the matched files
in the file list.
- OK Button: Pressing it closes the dialog and returns the selected
file name.
- Cancel Button: Pressing it cancels the file section.
- Show Hidden Files: Displays all hidden files in a directory.