Change the Scroll Buttom

TeeChart for ActiveX, COM and ASP
Post Reply
Activex
Newbie
Newbie
Posts: 4
Joined: Thu Dec 06, 2001 5:00 am
Location: Brazil
Contact:

Change the Scroll Buttom

Post by Activex » Tue Sep 04, 2007 3:09 pm

Sirs,

I'm trying change the scroll to left mouse buttom and zoom to right mouse buttom.

See the code above:
document.frmGraph.Chart1.Zoom.MouseButton = 2
document.frmGraph.Chart1.Scroll.MouseButton = 1
document.frmGraph.Chart1.Scroll.Enable = true
document.frmGraph.Chart1.Zoom.Enable = true

But when I use this code, the graph does'nt work more.

Can You help me?

Thanks
Igor

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 Sep 04, 2007 3:17 pm

Hi Igor,

Code below works fine for me here using TeeChart Pro v8 ActiveX with Visual Basic 6

Code: Select all

    TChart1.Scroll.MouseButton = mbLeft
    TChart1.Zoom.MouseButton = mbRight
or

Code: Select all

    TChart1.Scroll.MouseButton = 1
    TChart1.Zoom.MouseButton = 2
Which TeeChart version and development environment are you using?

Thanks in advance.
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

Activex
Newbie
Newbie
Posts: 4
Joined: Thu Dec 06, 2001 5:00 am
Location: Brazil
Contact:

Post by Activex » Tue Sep 04, 2007 4:16 pm

Narcís,

I'm using Teechart v5.

I tested with v6 and work fine.

How do I do upgrade version?

Thanks,
Igor

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 Sep 05, 2007 7:56 am

Hi Igor,

You can upgrade your license on-line or you should contact our Sales Dept. at sales@steema.com. Also please notice that current TeeChart Pro ActiveX version is number 8.

Thanks in advance.
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