Vcl.Dialogs.TColorDialogOptions

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

type TColorDialogOptions = set of TColorDialogOption;

C++

typedef System::Set<TColorDialogOption, TColorDialogOption::cdFullOpen, TColorDialogOption::cdAnyColor> TColorDialogOptions;

Properties

Type Visibility Source Unit Parent
set
typedef
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).