| CancelError |
If True, generates an error if the Cancel button is clicked.
Allows you to use error-handling procedures to recognize that
Cancel was clicked. |
| DialogTitle |
The string appearing in the title bar of the dialog box. Default
is Open. In the example, the DialogTitle is Open Example. |
| FileName |
Sets the initial file name that appears in the File name box.
After the dialog box is closed, this property can be read to
determine the name of the selected file. |
| Filter |
Used to restrict the filenames that appear in the file list box.
Complete filter specifications for forming a Filter can be found
using on-line help. In the example, the Filter was set to allow
Bitmap (*.bmp), Icon (*.ico), Metafile (*.wmf), GIF (*.gif), and
JPEG (*.jpg) types (only the Bitmap choice is seen). |
| FilterIndex |
Indicates which filter component is default. The example uses
a 1 for the FilterIndex (the default value). |
| Flags |
Values that control special features of the Open dialog box
(see Appendix II). The example uses no Flags value. |