Introduced in QPR 7.4.1
The FileSaveDialog command displays the standard dialog for saving files and returns the selected filename with the full path. Dialog's title, file extension filters and the initial folder can be supplied as parameters.
PGApplication.FileSaveDialog(Title, DefaultExt, Filter, InitialDir, out Filename)
Title: String. Title displayed for the dialog.
DefaultExt: String. File extension used by default in the dialog.
Filter: String. Filter for what file types are shown.
InitialDir: String. Folder which is shown by default when the dialog is opened.
out Filename: Variant for storing the returned filename string. The full path is included.
Below are listed the return values that this function can return:
iResult = PGApplication.FileSaveDialog("FileSaveDialog", "txt", "Text files (*.txt)|*.TXT", "C:\", sFileName)