TOpenDialog.CheckAllFiles function
Ensures that values in the FileName and Files properties are valid for the Options in the dialog.
Declaration
function CheckAllFiles: Boolean; virtualFunction result
True if the file names are valid for Options in the dialog.Description
CheckAllFiles is a
Boolean function used to validate
values in the FileName and Files properties using the Options enabled for the
dialog.
FileName is checked when a non-empty string value has been
assigned to the property, or when ofAllowMultiSelect has been
omitted
from the Options property. The lines of text in the Files property are
validated when ofAllowMultiSelect has been
included in the Options
property.
CheckAllFiles calls the CheckFile method to validate and potentially update a file name. A file name modified in CheckFile to include a file extension is stored in the origin property (FileName or Files).
The return value is True if the file name(s) meet the requirements for the Options property and the local file system.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
