OnCursorToolChange not called when changing cursor position

TeeChart for ActiveX, COM and ASP
Post Reply
nico193
Newbie
Newbie
Posts: 20
Joined: Thu Jun 05, 2003 4:00 am
Contact:

OnCursorToolChange not called when changing cursor position

Post by nico193 » Tue Mar 02, 2004 9:59 am

The event OnCursorToolChange is called when the user is changing the cursor tool position, but not when the position is changed programmatically.

Is there a way to invoke this event when changing the position of the cursor tool programmatically ? I need to retrieve the nearest point index of the cursor tool.

Thanks for help

nico193
Newbie
Newbie
Posts: 20
Joined: Thu Jun 05, 2003 4:00 am
Contact:

Post by nico193 » Wed Mar 03, 2004 4:16 pm

I'm working with Tee Chart Active X V5

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

Post by Pep » Wed Mar 03, 2004 5:57 pm

Hi nico,

yes, you're correct, it's a bug. It has been added on our defect list and a fix for it will be considered to inclusion for the next maintenance releases.
>Is there a way to invoke this event when changing the position of the >cursor tool
The only way I can think of is to create your custom Sub and call it after the X or YValue of the CursorTool has changed.

Post Reply