HighlightColor Property

Returns or sets the color of the highlight that is applied to selected thumbnail boxes.

Applies To

Image Thumbnail control

Syntax

object.HighlightColor[=color]

Data Type

Long

Remarks

The highlight appears only if the HighlightSelectedThumbs property is set to True.

Use the RGB format. RGB (Red Green Blue) values range from 0 to 16,777,215 (&HFFFFFF). The high byte of a number in this range equals 0; the lower 3 bytes, from least to most significant byte, determine the amount of red, green, and blue, respectively. The red, green, and blue components are each represented by a number between 0 and 255 (&HFF).

The default value is black -- RGB (0, 0, 0).

The color specified should be different from the color set by the BackColor property to ensure the highlight remains visible against the background.

See Also

BackColor property

ThumbBackColor property

HighlightSelectedThumbs property