Page 1 of 1

Series MouseDown event changed

Posted: Fri Jan 07, 2011 3:49 pm
by 9339885
Hi,

I upgraded to TChart 2010. Compiled my project and now getting the error msg on all my Series->MouseDown routines.

Apparently the TSeries->MouseDown has been changed
from
MouseDown)TObject * Sender, TMouseButton Butto, ...
To
MouseDown(int ValueIndex, bool AtPointer ...

What's behind the change and where can I find the ref to this change so I can adopt to the change?

Thanks

-Bill

Re: Series MouseDown event changed

Posted: Sun Jan 09, 2011 7:42 pm
by 16556683
Hi Bill,

I had similar problems as I use OnClickSeries. The good news is that it din't take too long to accommodate the new routines.

It would seem there were quite a few breaking changes in TChart 2010 to do with clicking points and lines. I'd suggest for such a mature product any breaking changes are highlighted before people upgrade and workaround for the breaks should ideally be provided.

Cheers,

Steve

Re: Series MouseDown event changed

Posted: Mon Jan 10, 2011 3:21 pm
by narcis
Hi Steve,

Thanks for your feedback. I agreed with you, such changes should be documented. We will try to do so when similar cases occur in the future.