WhoIsSelected Property

Description

Returns a value to indicate who is selected among Default item, Color Box, and Custom item.

Usage

[form.][control.]WhoIsSelected[ = Boolean]

Data Type

CPWhoIsSelected

0 – ccDefault

1 – ccColorBox

2 - ccCustom

Default

1

Remarks

This property returns a value to indicate who is selected among Default item, Color box, and Custom item, this is an important property that obtains DefaultItemColor property value while EnableDefaultItem is TRUE.

About this property usage, refer to Value, Color and DefaultItemColor properties.

Sample

Dim who As CPWhoIsSelected

who = ColorPicker1.WhoIsSelected