Tools problems v6.0.0.5
Tools problems v6.0.0.5
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?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Ross,
I've been able to reproduce what you report and solved it adding TChart1.Repaint after deleting the tool.
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 |
Instructions - How to post in this forum |