Page 1 of 1

[Bug] - multiple Cursortool

Posted: Thu Jul 05, 2007 5:52 am
by 9349911
Hi !

I think I found a bug in the cursortool ...

The way to reproduce it:
1) add 2 CursorTools to the Tools section
2) Both have the same series and the style is Scope
3) Both are activated
4) Compile / Start the application and you won´t see any corsor tool within the chart
5) Add some data to the chart
6) execute the ChartEditor (I use TeeComander for this) and try to activate one of the CursorTools

Now you will see that only cursortool 2 is activated. No matter if you use the active checkbox from cursortool 1 or 2.
Close the ChartEditor and move the visible cursortool. Enter the charteditor again and you can enable charttool 1 as usual.

Really strange thing :D

Hopefully you can fix this in the next time. Because we need the Cursortools for measurement in our application.

If it is necessary I can send you a demo.
Now

Posted: Thu Jul 05, 2007 7:45 am
by yeray
Hi Dominik,

Yes, this is a known bug already listed on our defect list to be fixed for future releases (TV52011928).

The problem is that when you have 2 cursors in the same position they are not visible anymore.

Posted: Thu Jul 05, 2007 7:47 am
by 9349911
Hi Yeray,
Yes, this is a known bug already listed on our defect list to be fixed for future releases (TV52011928).
Ups, sorry for doublereporting ...
The problem is that when you have 2 cursors in the same position they are not visible anymore.
Well ... The workaround could be to set the position of cursortool2 by code? And after that I activate it ?

Would this work ?

Posted: Thu Jul 05, 2007 8:26 am
by narcis
Hi Dominik,
Ups, sorry for doublereporting ...
No problem, better twice than none :wink:.
Well ... The workaround could be to set the position of cursortool2 by code? And after that I activate it ?
Setting different tools position should be enough.

Posted: Thu Jul 05, 2007 8:33 am
by 9349911
Hi !
Setting different tools position should be enough.
Ok, but where / how can I set the position.

I can´t find a prope methode for this.

Posted: Thu Jul 05, 2007 2:47 pm
by narcis
Hi Dominik,

Here's an example of changing cursor's position at run-time.