ITChart.StopMouse
ITChart
procedure StopMouse;
Type Library
TeeChartx
Description
This method should be run if you wish TeeChart Engine to STOP handling mouseclicks and NOT to start zoom or scroll. This method ONLY effectuates this activity for the next mouseclick after it has been called.
Example [Visual Basic]:
Private Sub TChart1_OnClickSeries(ByVal SeriesIndex As Long, ByVal ValueIndex As Long, ByVal Button As TeeChart.EMouseButton, ByVal Shift As TeeChart.EShiftState, ByVal X As Long, ByVal Y As Long)
If Button = mbRight Then
With TChart1.Series(SeriesIndex)
.PointColor(ValueIndex) = vbGreen
End With
TChart1.StopMouse
End If
End Sub