HI !
I want to change the mouse cursor appearence when the mouse is positionned on an annotation tool i've created and placed on my chart.
This can be performed via the chart settings panel (Tools->Annotation->Options->Cursor) but I don't find the property or method of the Annotation Tool class which enables to do such a thing programmaticaly.
Is there a way to do that ?
Thanks for your help.
Annotation and mouse cursor problem
Hi,
it cannot be assigned at runtime. I've writed down our wish list to be available for the next maintenance releases.
In meantime you can simulate it using the OnMouseMove event, something like this :
it cannot be assigned at runtime. I've writed down our wish list to be available for the next maintenance releases.
In meantime you can simulate it using the OnMouseMove event, something like this :
Code: Select all
Private Sub TChart1_OnMouseMove(ByVal Shift As TeeChart.EShiftState, ByVal X As Long, ByVal Y As Long)
If TChart1.Tools.Items(0).asAnnotation.Clicked(X, Y) Then
TChart1.Cursor = 2020
Else
TChart1.Cursor = 0
End If
End Sub
Pep Jorge
http://support.steema.com
http://support.steema.com