TOpenDialog.Options property
Options to be used for this dialog.
Declaration
property Options: TOpenOptions read FOptions write FOptions default DefaultOpenDialogOptions;Description
Options is a
TOpenOptions property with the set used to
store options enabled in the dialog. Options contain 0 (zero) or more values
from the
TOpenOption enumeration. When a value is included in the
set, it is enabled when the dialog is executed.
The default value for the property is defined in the DefaultOpenDialogOptions constant, and contains:
- ofEnableSizing
- Allows the dialog to be resized at run-time.
- ofViewDetail
- Enables the preview pane on an Open dialog.
See TOpenOption for a complete list of enumeration values and their meanings.
Values in Options are used at run-time in methods like:
- CheckAllFiles
- CheckFile
- DoExecute
- DoCanClose
In addition, values in Options may be updated when the IntfSetOption callback method is used to apply changes from the widgetset class instance.
See also
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
