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

# TColorDialog.Options

Indicates the optional features enabled (or disabled) for the color dialog.

## Declaration

Source position: dialogs.pp line 324

`published property TColorDialog.Options : TColorDialogOptions read FOptions write FOptions default DefaultColorDialogOptions;`

## Description

Options is a TColorDialogOptions property which contains the optional features used when the color dialog is executed. It contains zero (0) or more values from the TColorDialogOption enumeration; when a value is present in the set type, the feature is enabled for the dialog.

The default value for the property is defined in the DefaultColorDialogOptions constant.

Options is used by the widgetset to create the flag values associated with the Handle created for the dialog.

Remark: | Options is currently enabled for the Windows widgetset only. Its implementation is modeled on the use of flag values in the CHOOSECOLOR function from the Windows API. (https://learn.microsoft.com/en-us/windows/win32/api/commdlg/ns-commdlg-choosecolora-r1)

## Version info

Added in LCL version 4.0.

## See also

TColorDialogOption |  | Represents the options which can be enabled during execution of a color dialog.
TColorDialogOptions |  | Set type used to store values from the TColorDialogOption enumeration.
DefaultColorDialogOptions |  | Specifies the default options enabled in TColorDialog.