Calendar ActiveX Control

Calendar ActiveX Control
SetDayCaptions

  Set the day captions. e.g. Sunday, Monday.    
Public Function SetDayCaptions(
    ByVal iIndex As Integer, _
    ByVal strCaption As String, _
    ) as Boolean

 

Parameter
iIndex - the index of day you want to change the caption. Start from zero.
strCaption - the string of caption

Return Value
True - Successful , False - Failed


Example

   

Visual Basic Syntax
Calendar1.SetDayCaptions 0, "Sunday"
Calendar1.SetDayCaptions 1, "Monday"
Calendar1.SetDayCaptions 2, "Tuesday"
Calendar1.SetDayCaptions 3, "Wednesday"
Calendar1.SetDayCaptions 4, "Thursday"
Calendar1.SetDayCaptions 5, "Friday"
Calendar1.SetDayCaptions 6, "Saturday"