Calendar ActiveX Control

OnDayClickUnicode



 

Occurs when you click the day box and it added unicode text.

void Calendar1_OnDayClickUnicode(ByVal iYear As Integer, ByVal iMonth As Integer, ByVal iDay As Integer, ByVal strText As String)

 

Parameter
iYear - the year you selected.
iMonth - the month you selected. The first month is start from zero.
iDay - the day you selected.
strText - the day text if available.

Return Value

 No return value.


Example

   

Visual Basic Syntax
Private Sub Calendar1_OnDayClickUnicode(ByVal iYear As Integer, ByVal iMonth As Integer, ByVal iDay As Integer, ByVal strText As String)
txtCurDay = iDay
txtDayText = strText
End Sub