Hi,
Am 18.09.2020 um 13:00 schrieb Keith Tizzard:
<file name> already exists.
Do you want to replace it?
If the user responds ‘Yes’ I would have expected the command to delete the existing file but it does not. .Show returns -1 if the file does not already exist or if the user wishes to replace it. It does not distinguish between the two.
The return value -1 indicates that the file should be saved forcibly,
even if an existing file should be overwritten. So the overwrite mode
must always be set when creating a file.
Keep in mind that the save file dialogs doesn’t actually save anything.
It only returns the full path the user has selected to save the file.
Ulrich
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)