Contents
- Index
- Previous
- Next
SaveDialog method
Declaration
function SaveDialog(const InitialDir: TFileName = ''): TFileName;
Description
Displays the "Save As" dialog box to allow the user to specify a path and file name to save the current document.
The optional InitialDir parameter specifies the initial directory for the dialog. The parameter may be set to the empty string (''), thus ignored.
Returns the name and directory path of the file selected, or the empty string ('') if the user cancels the dialog.