Calendar ActiveX Control

FindHighLightDayColor

 

Returns the color of hightlight that matches the given index of the collection.

Public Function FindHighLightDayColor(
    ByVal iIndex As Integer, _
    ) as Color

 

Parameter
iIndex - the index of highlight day. Start from zero.

Return Value
Return the color of highlight.
Example

   

Visual Basic Syntax
icount = Calendar1.GetHighLightDayCount
For i = 0 To icount - 1
    colorHighlight = Calendar1.FindHighLightDayColor(i)
    strDay= Calendar1.FindHighLightDay(i)
'Next