ValidateNames: Boolean;
The ValidateNames property determines whether the correctness of the file name is checked.
Available values:
True. Default value. File name correctness is checked (it is checked if there are characters prohibited in file names: ", *, ?, and so on). If a file with incorrect name is specified, the dialog box does not close and remains focused.
False. File name correctness is not checked, 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: