Page 1 of 1

Change the Scroll Buttom

Posted: Tue Sep 04, 2007 3:09 pm
by 6919638
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

Posted: Tue Sep 04, 2007 3:17 pm
by narcis
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.

Posted: Tue Sep 04, 2007 4:16 pm
by 6919638
NarcĂ­s,

I'm using Teechart v5.

I tested with v6 and work fine.

How do I do upgrade version?

Thanks,
Igor

Posted: Wed Sep 05, 2007 7:56 am
by narcis
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.