Is there a way to add text boxes to a chart and let the user type info, scale them, edit them, and move them around? I may want them to be able to add several on the same chart. I want them to be printed when the chart gets printed so I'm hoping it will be a part of theTchart control.
I see where I can programmatically use the annotation tool and I suppose I could ask for the text in a seperate process then display it with the annotation tool. I'm not sure how to resize and position it once its on the chart. I'd like the user to be able to drag the text around and delete it with the mouse.
Maybe there is something in the documentation that I missed. If anyone has a sample in VB or some other ideas which might help, I'd appreciate it.
David
VB6, Tchart 6
Adding user text boxes on a chart
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi dcurrier,
This can be done as in the example I've posted at [url]news://www.steema.net/steema.public.attachments[/url] newsgroup. The text can be edited using a MessageBox. To remove the annotation tool you can use the same approach as for dragging it.
This can be done as in the example I've posted at [url]news://www.steema.net/steema.public.attachments[/url] newsgroup. The text can be edited using a MessageBox. To remove the annotation tool you can use the same approach as for dragging it.
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 |