I will like to let the the Cursor Tool disapper when the mouse move out the Chart. However, these two events can't work. Do I need to do enything else to let them work, or they just put in there for fun?
PS. VB6 is my development tool.
How can I make the OnEnter & OnExit events work?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi ivan,
Thanks for reporting. I could reproduce that and added the issue to our defect list to be fixed for future releases. In the meantime, an alternative is using something like this:
Thanks for reporting. I could reproduce that and added the issue to our defect list to be fixed for future releases. In the meantime, an alternative is using something like this:
Code: Select all
Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
TChart1.Tools.Items(0).Active = False
End Sub
Private Sub TChart1_OnMouseMove(ByVal Shift As TeeChart.EShiftState, ByVal X As Long, ByVal Y As Long)
TChart1.Tools.Items(0).Active = True
End Sub
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hello Jenn,
After reviewing the issue we found that it wasn't a bug. TeeChart needs to have the focus for those events being fired. Have you tried setting the focus to the chart and checking if the events are fired?
Thanks in advance.
After reviewing the issue we found that it wasn't a bug. TeeChart needs to have the focus for those events being fired. Have you tried setting the focus to the chart and checking if the events are fired?
Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |