This procedure runs whenever the user clicks the mouse with the pointer positioned over the control named “ChartSpace1.” Note that the procedure in this example is declared as required by Visual Basic. For more information about using event procedures, see Declaring and Using Event Procedures in VBScript.
Private Sub ChartSpace1_Click(ByVal ChartEventInfo As OWC.WCChartEventInfo)
If ChartEventInfo.AltKey Then
' handle alt case here
End If
If ChartEventInfo.CtrlKey Then
' handle ctrl case here
End If
End Sub