still scrolling after tchart1.scroll.enable=pmnone

TeeChart for ActiveX, COM and ASP
Post Reply
Angelo
Newbie
Newbie
Posts: 10
Joined: Tue Oct 05, 2004 4:00 am

still scrolling after tchart1.scroll.enable=pmnone

Post by Angelo » Tue May 24, 2005 11:20 pm

Hi, I am little bit confused with Teechart ActiveX v7

I created tchart in runtime and I set in the code the scroll enable property to pmNone but when I move the mouse wheel the chart is still scrolling vertically.


What am I doing wrong ? :?:

Angelo

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

Post by Narcís » Wed May 25, 2005 8:17 am

Hi Angelo,

You need to set:

Code: Select all

TChart1.Environment.MouseWheelScroll = False
Setting scroll to pmNone disables chart horizontal and vertical panning when the configured mouse button is pressed, default is right button.
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