Sign in Join
FPDoc Onlineexperiment

TColorDialogOption enumeration

In unit Dialogs

Represents the options which can be enabled during execution of a color dialog.

Declaration

pascal
TColorDialogOption = (cdFullOpen,cdPreventFullOpen,cdShowHelp,
 cdSolidColor,cdAnyColor,cdShowAlphaChannel,
 cdNoButtons,cdDontUseNativeDialog,
 cdNoEyeDropperButton)

Description

Values from the enumeration are stored in the TColorDialogOptions set type used to implement the TColorDialog.Options property. Please note that some options are platform-specific, as indicated in their descriptions.

Added in LCL version 4.0.

See also

Values

cdFullOpenCauses the dialog box to display the additional controls that allow the user to create custom colors.
cdPreventFullOpenDisables the "Define Custom Color" button.
cdShowHelpCauses the dialog box to display the Help button.
cdSolidColorCauses the dialog box to display only solid colors in the set of basic colors.
cdAnyColorCauses the dialog box to display all available colors in the set of basic colors.
cdShowAlphaChannelDisplays the AlphaChannel control on the dialog (GTK2, GTK3, QT4, QT5, QT6, Cocoa). Not implemented for the Windows platform.
cdNoButtonsRemoves the buttons from the dialog. (QT4, QT5, QT6)
cdDontUseNativeDialogUse the QT dialog instead of the native dialog for the OS. (QT4, QT5, QT6)
cdNoEyeDropperButtonHides the Eye Dropper button (QT6). Available in QT6.6 or later. Current QT6 bindings are generated for version 6.2.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.