[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Ensures that values in the FileName and Files properties are valid for the Options in the dialog.
Source position: dialogs.pp line 251
protected function TOpenDialog.CheckAllFiles: Boolean; virtual; |
True if the file names are valid for Options in the dialog.
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.
|
Ensures the specified file name meets the requirements for the dialog. |
|
|
Options to be used for this dialog. |
|
|
Contains the UTF-8-encoded name for a file chosen using the dialog. |
|
|
Stores the names of files (or directories) selected using the dialog. |
|
|
Options which can be used in a TOpenDialog instance. |
Version 4.0 | Generated 2025-05-03 | Home |