Exiting the Right Click State
Posted: Wed Dec 03, 2008 10:32 am
Hi
We have a feature where when right clicking on a series we enable the user to change the series color using a color selection dialog.
The thing is that sometimes when the Dialog is on the series or the Ok button is on the series or chart , and user changes a series color , after the user presses with the mouse OK and we change the series color, The chart is kept in the Right Button Down state , and the chart scrolls during the mouse move even thought the right button is not down. I cant say why this happens and I cant always reproduce it.
Its as if the chart didnt receive a right button mouse UP and is still in the state where the right button is clicked and when I move the mouse over the chart the chart scrolls automatically.
My question is how can I through code , tell the chart not to be in the right click state. I want to manually reset the chart to make sure this doesnt happen.
THanks.
We have a feature where when right clicking on a series we enable the user to change the series color using a color selection dialog.
The thing is that sometimes when the Dialog is on the series or the Ok button is on the series or chart , and user changes a series color , after the user presses with the mouse OK and we change the series color, The chart is kept in the Right Button Down state , and the chart scrolls during the mouse move even thought the right button is not down. I cant say why this happens and I cant always reproduce it.
Its as if the chart didnt receive a right button mouse UP and is still in the state where the right button is clicked and when I move the mouse over the chart the chart scrolls automatically.
My question is how can I through code , tell the chart not to be in the right click state. I want to manually reset the chart to make sure this doesnt happen.
THanks.