[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Set type used to store TOpenOption enumeration values.
Source position: dialogs.pp line 213
type TOpenOptions = set of ( |
||
ofReadOnly, |
|
Include read-only files. |
ofOverwritePrompt, |
|
If selected file exists shows a message, that file will be overwritten. |
ofHideReadOnly, |
|
Hide read only files. |
ofNoChangeDir, |
|
Do not change the current directory. |
ofShowHelp, |
|
Show a help button. |
ofNoValidate, |
|
Disables file name validation using OFN_NOVALIDATE on the Windows platform. Allows file names with invalid characters. |
ofAllowMultiSelect, |
|
Enables multi-selection in a dialog. |
ofExtensionDifferent, |
|
Allows a file name with an extension which does not match the filters or default extension in a file dialog. |
ofPathMustExist, |
|
Shows an error message if selected path does not exist. |
ofFileMustExist, |
|
Shows an error message if selected file does not exist. |
ofCreatePrompt, |
|
Enables a verification prompt when a file or directory needs to be created for a file dialog. |
ofShareAware, |
|
Includes the OFN_SHAREAWARE flag on the Windows platform. |
ofNoReadOnlyReturn, |
|
Do not return file names that are read-only. |
ofNoTestFileCreate, |
|
Includes the OFN_NOTESTFILECREATE flag on the Windows platform. |
ofNoNetworkButton, |
|
Disables and hides the Network button on the Windows platform. |
ofNoLongNames, |
|
Disables long file names on the Windows platform. Used in classic-style dialogs to force use of file names using the 8.3 format. Explorer-style dialogs ignore this flag and always display long file names. |
ofOldStyleDialog, |
|
Prevents use of the OFN_EXPLORER and dependent flags in dialogs on the Windows platform. |
ofNoDereferenceLinks, |
|
Do not resolve links while dialog is shown (only on Windows, see OFN_NODEREFERENCELINKS). |
ofNoResolveLinks, |
|
Do not resolve links after Execute. |
ofEnableIncludeNotify, |
|
Not used in the current LCL version. |
ofEnableSizing, |
|
Dialog can be resized, e.g. via the mouse. |
ofDontAddToRecent, |
|
Do not add the path to the history list. |
ofForceShowHidden, |
|
Show hidden files. |
ofViewDetail, |
|
Details are OS and interface dependent. |
ofAutoPreview |
|
OS and interface dependent. |
); |
TOpenOptions is a set type used to store 0 (zero) or more values from the TOpenOption enumeration. TOpenOptions is the type used to implement the Options property in TOpenDialog. When a value s included in the set, it is enabled during execution of the dialog.
|
Options to be used for this dialog. |
|
|
Options which can be used in a TOpenDialog instance. |
|
|
Set constant with the default Open Dialog options used in TOpenDialog. |
Version 3.2 | Generated 2024-02-25 | Home |