Mouse wheel scroll - a bug?

TeeChart for ActiveX, COM and ASP
Post Reply
Ninj
Newbie
Newbie
Posts: 17
Joined: Wed Jun 16, 2004 4:00 am
Location: Singapore

Mouse wheel scroll - a bug?

Post by Ninj » Thu Jul 08, 2004 4:05 am

Hi,

Is this a bug or am I forgetting to set something else here?
Even if I set the chart scroll to none, I am still able to vertically scroll the chart through the mouse wheel. I even tried it through code (Tchart.Scroll.Enable = pmNone), but still the chart scrolls vertically through the mouse wheel.

Thanks,

Nina

Pep
Site Admin
Site Admin
Posts: 3303
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Thu Jul 08, 2004 8:43 am

Hi Nina,

it's not a bug. You must set :
TChart1.Environment.MouseWheelScroll = False

Ninj
Newbie
Newbie
Posts: 17
Joined: Wed Jun 16, 2004 4:00 am
Location: Singapore

Post by Ninj » Thu Jul 08, 2004 9:23 am

Hi,

Thanks very much for the help. :)

Nina

Rich
Newbie
Newbie
Posts: 5
Joined: Tue Aug 17, 2004 4:00 am
Location: UK
Contact:

Not working for me

Post by Rich » Tue Sep 28, 2004 4:43 pm

Hi,

I'm having a similar problem, I've added

With TChart1
.Scroll.Enable = pmNone
.Environment.MouseWheelScroll = False
End With

and am still able to scroll using the mouse wheel.

I'm using Tchart 7, ActiveX

Any suggestions greatly appreciated.

Thanks

Rich

Pep
Site Admin
Site Admin
Posts: 3303
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Tue Sep 28, 2004 10:49 pm

Hi Rich,

I cannot reproduce the problem here with the following code :

Code: Select all

With tChart1
  .AddSeries scLine
  .Series(0).FillSampleValues(10)
  .Environment.MouseWheelScroll = false
end with
Could you please post an example into the steema.public.attachments newsgroup with which I can reproduce the problem here ?

Post Reply