Vcl.Dialogs.TColorDialogOption

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TColorDialogOption = (cdFullOpen, cdPreventFullOpen, cdShowHelp,
cdSolidColor, cdAnyColor);

C++

enum DECLSPEC_DENUM TColorDialogOption : unsigned char { cdFullOpen, cdPreventFullOpen, cdShowHelp, cdSolidColor, cdAnyColor };

Properties

Type Visibility Source Unit Parent
enum public
Vcl.Dialogs.pas
Vcl.Dialogs.hpp
Vcl.Dialogs Vcl.Dialogs

Description

TColorDialogOption and TColorDialogOptions specify options for a TColorDialog component.

TColorDialogOptions is a set of TColorDialogOption values.


The possible values of TColorDialogOption are:

Value Meaning

cdFullOpen

Display custom color options when the dialog opens.

cdPreventFullOpen

Disable the Define Custom Colors button in the dialog, so that the user cannot define new colors.

cdShowHelp

Add a Help button to the color dialog.

cdSolidColor

Direct Windows to use the nearest solid color to the color chosen.

cdAnyColor

Allow the user to select non-solid colors (which may have to be approximated by dithering).