User (Legacy) Posted February 1, 2006 Report Share Posted February 1, 2006 Hi, I'm using Delphi 2005 with ChartFx and the Annotation add-on. I have 2 pictures and 4 arrows drawn onto a chart using annotation. My problem is that when using AnnotX.Remove(), I'm not able to remove the items I want. I know there are only 6 items, but even if I use Remove with indexes 0 to 6, not all the items are removed. Using Remove(-1) eveything successfully goes, but I only want to remove the two pictures. Any ideas? Sandra Quote Link to comment Share on other sites More sharing options...
Software FX Posted February 1, 2006 Report Share Posted February 1, 2006 When you remove Item 0, Item 1 becomes Item 0, so you must either remove the last item first and work your way back or remove item 0 repeatedly. -- Francisco Padron www.chartfx.com Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.