[Overview][Constants][Classes][Procedures and functions][Index] | Reference for unit 'ExtDlgs' (#lcl)

# TOpenPictureDialog.Options

Indicates the dialog options enabled for the class instance.

## Declaration

Source position: extdlgs.pas line 97

`published property TOpenPictureDialog.Options : TOpenOptions default DefaultOpenDialogPictureOptions;`

## Description

Options is a TOpenOptions property which controls the options enabled for the dialog instance. It redefines the property introduced in TOpenDialog to use the default values specifed in the DefaultOpenDialogPictureOptions constant. The set of option values includes:

ofEnableSizing
  Allows the dialog to be resized at run-time.
ofViewDetail
  Displays detailed file information.
ofAutoPreview
  Automatically displays a preview for the selected image file.

The default value for Options is assigned in the Create constructor, along with the default Filter for the dialog, and used when the Execute method is called at run-time.

## Version info

Added in LCL version 4.4.

## See also

TOpenDialog.Options
TCommonDialog.Execute |  | Displays the dialog and captures the result.
TFileDialog.Filter |  | A string which contains available filename filters used to select files by their file extensions.
TOpenOption |  | Options which can be used in a TOpenDialog instance.