CFileDlg:new
The new method constructs a new instance of a CFileDlg object. The CFileDlg class creates a standard Open or Save dialog for gathering file names.
F = CFileDlg:new()
|
The following script fragment creates a CFileDlg object and gets file names to open:
|
-- Create a new CFileDlg object, F |
|
-- get file names using dialog title "Open a File" |
|
-- do something with the files |
|
-- delete the object when no longer needed |