Page 1 of 1

Is OnCursorToolChange not accessible in VBScript?

Posted: Fri Apr 16, 2004 1:13 pm
by 6927410
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

Re:Is OnCursorToolChange not accessible in VBScript?

Posted: Fri Apr 16, 2004 1:54 pm
by 6927410
Found the problem. I had the signature wrong, Should be:

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

Thanks anyway.