IndicatorIcon Property

Description

Returns/sets the color button icon.

Usage

[form.][control.]IndicatorIcon[ = Picture ]

Data Type

Picture

Default

NULL

Remarks

This property sets color button icon/image, it locates color indicator above, if color button is small than the loaded icon/image, then the icon/image will be clip automatically, so to a general size color button, the icon/image size should be suitable with parent.

If Caption property is not empty, then this icon/bitmap will not work.

See also Caption property.

Sample

Set ColorPicker1.IndicatorIcon = LoadPicture("ColorPicker.ico")    'Load picture to the control color button

Set ColorPicker1.IndicatorIcon = LoadPicture()    'Clear picture to the control indicator button