Page 1 of 1

Change Tool Order in Code

Posted: Mon Aug 08, 2005 2:33 am
by 9078528
Is it possible to set the tool order in code as you can in the TeeChart editor? I've noticed that when I implement a TeeCursor and use an Annotation object that has mouse click and drag support, I end up with cursor residue on the annotation each time I move it unless the annotation tool appears ahead of the cursor tool in the tools list.

Currently, I'm working around this by rebuilding the tools list placing the annotations first whenever there is a tool change.

I'm using TeeChart 6 dot something.

Posted: Mon Aug 08, 2005 2:44 pm
by Pep
Hi Dave,
Is it possible to set the tool order in code as you can in the TeeChart editor?
Not, this feature is not yet available (directly) through code, however I've added on our wish list so it can be added for the next maintenance releases. You will have to use similar code like :
tChart1.Tools.Exchange (index1,index2)[/quote]