Is there a way to see if a chart contains an annotation tool that can be accessed?
Thanks,
Tom
Check to see if chart has annotation tool...
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Tom,
Yes, you can do something like this:
Yes, you can do something like this:
Code: Select all
for i := 0 to Chart1.Tools.Count - 1 do
if (Chart1.Tools.Items[i] is TAnnotationTool) then
With (Chart1.Tools.Items[i] as TAnnotationTool) do
begin
//Do something
end;
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 |