[Bug] - multiple Cursortool

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
moelski
Advanced
Posts: 212
Joined: Mon Apr 23, 2007 12:00 am
Location: Germany
Contact:

[Bug] - multiple Cursortool

Post by moelski » Thu Jul 05, 2007 5:52 am

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

Yeray
Site Admin
Site Admin
Posts: 9602
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Post by Yeray » Thu Jul 05, 2007 7:45 am

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.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

moelski
Advanced
Posts: 212
Joined: Mon Apr 23, 2007 12:00 am
Location: Germany
Contact:

Post by moelski » Thu Jul 05, 2007 7:47 am

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 ?

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Thu Jul 05, 2007 8:26 am

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.
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

moelski
Advanced
Posts: 212
Joined: Mon Apr 23, 2007 12:00 am
Location: Germany
Contact:

Post by moelski » Thu Jul 05, 2007 8:33 am

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.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Thu Jul 05, 2007 2:47 pm

Hi Dominik,

Here's an example of changing cursor's position at run-time.
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