file.putFileDialog
| Syntax |
file.putFileDialog (prompt, addr)
|
| Params |
prompt is a string to be displayed in the dialog. addr is the address of an Object Database location where the path to the file is stored if the user clicks "OK" in the dialog.
|
| Action |
Prompts the user to select a folder and a file name, displaying the value at addr as a default file name response. If the file already exists the user is prompted to confirm that the file should be over-written.
|
| Returns |
True if the user clicked on OK, false if the user cancels the action.
|
| Examples |
file.putFileDialog ("Where to put file?", @x); return (x) » "C:\\Program Files\\Frontier\\here.html"
The example places the string in scratchpad.x and displays it. |
| Notes |
If the file already exists, file.putFileDialog confirms with the user that it's alright to delete the original.
|
| See Also |
file.getFolderDialog
|