CFileDlg Class Description
The CFileDlg class provides an interface for using the standard Open and Save file dialogs. Various properties can be configured, including user-defined title, "file type" filter, and other properties. The Open dialog can select multiple files and the class provides methods for iterating through the list of returned file names. The Open and Save dialogs do not open and save files; rather, they allow you to select file names that may be used for opening and saving files.
Construction |
Object = CFileDlg:new() |
Destruction |
Object:delete() |
This class includes numerous properties you can use to control the Open and Save dialogs.
Creates a new instance of a CFileDlg object. |
|
Deletes the instance of the CFileDlg object. |
Creates an Open dialog for selecting file names. |
|
Creates a Save dialog for selecting file names. |
|
Initializes the list of file names that were selected. After initialization, use Next to select each name in turn. |
|
Returns the next file name from the collection of names selected using the file dialog. This meethod returns nil when the end of the list is reached. |