Calendar ActiveX Control

Calendar ActiveX Control
SetHighLightDay

  Highlight the specific day.   
Public Function SetHighLightDay(
    ByVal iYear As Integer, _
    ByVal iMonth As Integer, _
    ByVal iDay As Integer, _
    ByVal clrHighLight As Color, _
    ) as Boolean

 

Parameter
iYear - the year .
iMonth - the month.
iDay - the day.
clrHightLight - the highlight color.

Return Value
True - Successful , False - Failed

Example
   

Visual Basic Syntax
Calendar1.SetHighLightDay 2004, 12, 23, RGB(255,0,0)