ColorBoxDimension Property

Description

Returns/sets the visual color cells rows and columns solution of popup window.

Usage

[form.][control.]ColorBoxDimension[ = Integer ]

Data Type

Integer (enumerated)

Enumeration

CPColorBoxDimension
4 - cc4x4
5 - cc5x5
6 - cc6x6
7 - cc7x7
8 - cc8x8
9 - cc9x9
10 - cc10x10
11 - cc11x11
12 - cc12x12
13 - cc13x13
14 - cc14x14
15 - cc15x15
16 - cc16x16

Default

cc4x4

Remarks

The property value specifies visual rows and cols number in dropped down popup window, it must be from 4 rows x 4 columns to 16 rows x 16 columns.

After this property is changed, some properties and methods related to this size will not work.

After ColorMode is changed to 16 colors, this property value will be change to 4x4 automatically. See also ColorMode property.

Sample

ColorPicker1.ColorBoxDimension = 4