|
Set the unicode day captions. e.g. You may create Chinese, Spanish, German calendar.
Public Function SetUnicodeDayCaptions( 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.SetUnicodeDayCaptions 0, "星期日" Calendar1.SetUnicodeDayCaptions 1, "星期一" Calendar1.SetUnicodeDayCaptions 2, "星期二" Calendar1.SetUnicodeDayCaptions 3, "星期三" Calendar1.SetUnicodeDayCaptions 4, "星期四" Calendar1.SetUnicodeDayCaptions 5, "星期五" Calendar1.SetUnicodeDayCaptions 6, "星期六"
|
|
|