Scroll with left mouse button

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
SPS
Newbie
Newbie
Posts: 18
Joined: Wed Jun 29, 2005 4:00 am

Scroll with left mouse button

Post by SPS » Fri Sep 21, 2007 9:47 am

Hi,

I have a question on the scrolling functionality.

Default scrolling is enabled with your right mouse button, is there a way to change this to your left mouse button (switch between zoom and scroll mode)?

Danny

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Sep 21, 2007 9:51 am

Hi Danny,

Yes, you can switch mouse buttons like this:

Code: Select all

						tChart1.Zoom.MouseButton = MouseButtons.Right;
						tChart1.Panning.MouseButton = MouseButtons.Left;
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Chris.CHWU
Newbie
Newbie
Posts: 57
Joined: Wed Jan 30, 2008 12:00 am

Post by Chris.CHWU » Tue Jun 10, 2008 10:20 am

Hi,

How could I press Ctrl + right mousebutton(or any key) to scroll the chart?

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Jun 10, 2008 10:37 am

Hi Chris.CHWU,

You can use KeyShift:

Code: Select all

			tChart1.Panning.KeyShift = Keys.Control;
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply