IFileSaveDialog.CreatePrompt

Syntax

CreatePrompt: Boolean;

Description

The CreatePrompt property determines whether additional warning dialog is displayed on saving to inexistent file.

Comments

By default the property is set to False, the additional dialog is not displayed. On selecting inexistent file. its creation is allowed and after closing the saving dialog, the Execute method returns True.

If the CreatePrompt property is set to True, the additional dialog box is not displayed. If the YES button is clicked in the dialog box, creation of a new file is allowed, saving dialog is closed and the Execute method returns True. If the NO button is clicked in the dialog box, the focus is returned to the saving dialog to select another file.

See also:

IFileSaveDialog