Skip to content

CommonDialogColorConstants Enumeration

Description

Options for a Color dialog box.

Members

Member Description
xtpCCRGBInit Sets the initial color value for the dialog box.
xtpCCFullOpen Entire dialog box is displayed, including the Define Custom Colors section.
xtpCCPreventFullOpen Disables the Define Custom Colors command button and prevents the user from defining custom colors.
xtpCCShowHelp Causes the dialog box to display a Help button.
xtpCCSolidColor Causes the dialog box to display only solid colors in the set of basic colors.
xtpCCAnyColor Causes the dialog box to display all available colors in the set of basic colors.

Remarks

These flags are used to set options for a color dialog using the CommonDialog.Flags when the CommonDialog.ShowColor method is called.

You can set more than one flag for a dialog box using the Or operator. For example:

CommonDialog1.Flags = xtpCCFullOpen Or xtpCCRGBInit

See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.