UserPaletteColorsCount property (LEADDlgColor Control)

C++ Builder example

Delphi 4.0 example

 

Builder Syntax

L_UINT UserPaletteColorsCount

Delphi Syntax

UserPaletteColorsCount: L_UINT

Overview

Refer to Using Imaging Common Dialogs.

Remarks

Get or sets the number of colors in the User Palette table used in the CustomizePalette, ColorRes, and Color dialog boxes.

To ignore the user palette in the dialog boxes, set this property to 0, or set it to the number of colors in the UserPaletteColors property.

See Also

Elements:

ShowColorResDlg method, ShowCustomizePaletteDlg method, ShowColorDlg method

Topics:

Imaging Common Dialogs: Properties, Methods, and Events