CheckFileExists: Boolean;
The CheckFileExists property determines the system reaction if the user selects a non-existing file.
Available values:
True. Default value. If the non-existing file name is entered, an error message is displayed. After the message closes, the focus returns to the dialog box to select the existing file.
False. If the non-existing file name is entered, an error message is not displayed, after the dialog box closes the Execute method returns True.
NOTE. The property is implemented only in the FileOpenDialog component. In the FileSaveDialog component use the IFileSaveDialog.CreatePrompt property.
See also: