Tools problems v6.0.0.5

TeeChart for ActiveX, COM and ASP
Post Reply
Rossmc
Newbie
Newbie
Posts: 27
Joined: Wed Jul 28, 2004 4:00 am
Location: South Africa

Tools problems v6.0.0.5

Post by Rossmc » Thu May 05, 2005 9:27 am

Are there known problems with the Tools collection. Eg the .Delete method appears to be buggy. I have a vertical TeeCursor and several DrawLines on my chart. I want to remove the TeeCursor. I loop through Tools collection to find index of the Tool where .tools.items(i).tooltype = 'cursor'. I then pass that index to .tools.delete i. The tool is no longer in the collection it seems but a visible line remains on the chart?! How do I get around 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 May 05, 2005 10:13 am

Hi Ross,

I've been able to reproduce what you report and solved it adding TChart1.Repaint after deleting the tool.
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