CFileDlg:delete

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.

Syntax

F = CFileDlg:new()

    Creates a new object.

Example

The following script fragment creates a CFileDlg object and gets file names to open:

F = CFileDlg:new()

-- Create a new CFileDlg object, F

sName = F:Open( "Open a File" )

-- get file names using dialog title "Open a File"

    ...

-- do something with the files

F:delete()

-- delete the object when no longer needed

Related Topics

CFileDlg, delete, Open