Hey
It did not work with MouseDown - but it works perfectly in a KeyUp/KeyDown combination - I was just missing the "tChart1.Panning.MouseButton" property, so now I have a working solution - thanks!
/Claus
Search found 2 matches
- Mon Jun 04, 2012 7:37 am
- Forum: .NET
- Topic: Controlling zoom/pan with the control key
- Replies: 3
- Views: 3875
- Thu May 31, 2012 7:04 am
- Forum: .NET
- Topic: Controlling zoom/pan with the control key
- Replies: 3
- Views: 3875
Controlling zoom/pan with the control key
Hey I need to redefine when to pan and zoom in a chart on a WinForm. Actually what I want is to use the zoom tool like normal (left click), but when the user press Ctrl while left clicking I want to pan the chart instead - and use the right click as a normal popup menu. I have solved the problem wit...