Is OnCursorToolChange not accessible in VBScript?

TeeChart for ActiveX, COM and ASP
Post Reply
Ragnar
Newbie
Newbie
Posts: 9
Joined: Fri Nov 15, 2002 12:00 am
Location: Iceland

Is OnCursorToolChange not accessible in VBScript?

Post by Ragnar » Fri Apr 16, 2004 1:13 pm

I am using version 5,0,5 and do not seem to get access to the
OnCursorToolChange event. The script is following:

Sub axChart_OnCursorToolChange()
MsgBox "axChart_OnCursortToolChange"
End Sub

I similar event handler for the OnNearestToolChange event works fine:

Sub axChart_OnNearestToolChange()
MsgBox "axChart_OnNearestToolChange"
End Sub

Is OnCursorToolChange not accessible in VBScript? What can be the problem here?

Best regards,
Ragnar

Ragnar
Newbie
Newbie
Posts: 9
Joined: Fri Nov 15, 2002 12:00 am
Location: Iceland

Re:Is OnCursorToolChange not accessible in VBScript?

Post by Ragnar » Fri Apr 16, 2004 1:54 pm

Found the problem. I had the signature wrong, Should be:

Sub axChart_OnCursorToolChange(Tool, X , Y ,XVal,YVal, Series ,ValueIndex)

Thanks anyway.

Post Reply