Calendar ActiveX Control

OnRightClick



 

Occurs when you right click

void Calendar1_OnRightClick(ByVal iYear As Integer, ByVal iMonth As Integer, ByVal iDay As Integer)

 

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

Return Value

 No return value.


Example

   

Visual Basic Syntax
Private Sub Calendar1_OnRightClick(ByVal iYear As Integer, ByVal iMonth As Integer, ByVal iDay As Integer)
txtCurDay = iDay

End Sub