CreatePrompt: Boolean;
The CreatePrompt property determines whether additional warning dialog box opens on saving to non-existing file.
The property is set to False by default, the additional dialog box does not open. On selecting non-existing file it is allowed to create a file, and after closing the saving dialog box, the Execute method returns True.
If the CreatePrompt property is set to True, the additional dialog box does not open. Clicking the YES button in the dialog box allows for creating a new file, the saving dialog box closes, and the Execute method returns True. Clicking the NO button in the dialog box returns the focus to the saving dialog box to select another file.
See also: