AltKey Property Example

This procedure runs when the user clicks the mouse with the pointer positioned over the chart workspace. Note that the event 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