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.
Exiting the Right Click State
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi qcrnd,
Yes, you can use CancelMouse:
Hope this helps!
Yes, you can use CancelMouse:
Code: Select all
tChart1.Chart.CancelMouse = true;
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi qcrnd,
Yes, MouseDown, MouseUp, MouseMove, MouseWheel events set it to false.
Yes, MouseDown, MouseUp, MouseMove, MouseWheel events set it to false.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |