How to identifty the mouse button in ClickPointer event?
Posted: Tue Mar 21, 2006 6:18 am
I am listening to ClickPointer pointer event of the line series.
The thing is this event gets fired when clicked with left mouse button as well as right mouse button,
So how do I find out whether the mouse button pressed was left or right?
I tried using click event of series to identify the mouse button (by keeping a boolean to indicate if the left mouse button was pressed).
But the problem is when the user clicks on the exact point (pointer) directly ClickPointer event is fired (Click event is not fired) and hence I am unable to identify the mouse button pressed.
Any ideas on how to achieve this?
Thanks
The thing is this event gets fired when clicked with left mouse button as well as right mouse button,
So how do I find out whether the mouse button pressed was left or right?
I tried using click event of series to identify the mouse button (by keeping a boolean to indicate if the left mouse button was pressed).
But the problem is when the user clicks on the exact point (pointer) directly ClickPointer event is fired (Click event is not fired) and hence I am unable to identify the mouse button pressed.
Any ideas on how to achieve this?
Thanks