fileName$ = WinXDialog_SaveFile$ (parent, title$, extensions$, initalName$, overwritePrompt)
Displays a standard Windows Save As dialog box
Parameter | Description |
---|---|
parent | The parent window for the dialog box, 0 for none |
title$ | The title of the dialog box, usually "Save As" |
extensions$ | The file type filters, see the remarks section for WinXDialog_OpenFile$ for more information |
initialName$ | The file name to appear in the dialog box when it is initialised |
overwritePrompt | $$TRUE to warn the user when they are about to overwrite a file, $$FALSE otherwise |
A string containing the name of the file the user selected, or the empty string on fail.
see WinXDialog_OpenFile$ for more information regarding the extensions$ parameter.
'Get a file from the user fileName$ = WinXDialog_SaveFile$ (#hMain, "Save As... ", "All files (*.*)\0*.*\0\0", "", $$TRUE) |