Change Tool Order in Code

TeeChart for ActiveX, COM and ASP
Post Reply
DaveB
Newbie
Newbie
Posts: 14
Joined: Thu May 08, 2003 4:00 am
Location: Rochester , NY
Contact:

Change Tool Order in Code

Post by DaveB » Mon Aug 08, 2005 2:33 am

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.

Pep
Site Admin
Site Admin
Posts: 3295
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Mon Aug 08, 2005 2:44 pm

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]

Post Reply