[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Dialogs' (#lcl)

TOpenDialog.Options

Options to be used for this dialog.

Declaration

Source position: dialogs.pp line 241

published property TOpenDialog.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 file detail view in the QT4 and QT5 widgetsets. Not implemented for any other platforms in the current LCL version.

See TOpenOption for a complete list of enumeration values and their meanings.

Values in Options are used at run-time in methods like:

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

TOpenDialog.DoExecute

  

Performs actions needed to display the dialog and capture its result.

TOpenDialog.IntfSetOption

  

Implements the callback used to update values in Options when the widgetset class processes the dialog result.

TOpenOptions

  

Set type used to store TOpenOption enumeration values.

TOpenOption

  

Options which can be used in a TOpenDialog instance.

DefaultOpenDialogOptions

  

Set constant with the default Open Dialog options used in TOpenDialog.


Version 3.2 Generated 2024-02-25 Home