ClickSeries events
Posted: Mon Feb 11, 2008 7:46 pm
I have tested this with both
Visual Basic 2008 Express/TChart .NET 3.2.2945.19738
and
Visual Basic 2005 Express/TChart .NET 3.2.2894.29191
When I double-click on a series, the ClickSeries event is fired 3 times. The first time, e.Clicks is 1. The second and third times, e.Clicks is 2.
If I put an if statement in my ClickSeries event handler that opens another form:The ClickSeries event fires 2 times, once with e.Clicks = 1 and once with e.Clicks = 2. However, the next time I (single) click on the series, the ClickSeries event fires 2 times, once with e.Clicks = 1 and once with e.Clicks = 2.
Jay
Visual Basic 2008 Express/TChart .NET 3.2.2945.19738
and
Visual Basic 2005 Express/TChart .NET 3.2.2894.29191
When I double-click on a series, the ClickSeries event is fired 3 times. The first time, e.Clicks is 1. The second and third times, e.Clicks is 2.
If I put an if statement in my ClickSeries event handler that opens another form:
Code: Select all
If e.Clicks = 2 Then
SomeForm.ShowDialog()
End If
Jay