How can I make the OnEnter & OnExit events work?

TeeChart for ActiveX, COM and ASP
Post Reply
ivan
Newbie
Newbie
Posts: 5
Joined: Mon Jun 12, 2006 12:00 am

How can I make the OnEnter & OnExit events work?

Post by ivan » Fri Jun 16, 2006 6:17 am

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.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Jun 16, 2006 7:50 am

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:

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
Image Image Image Image Image Image
Instructions - How to post in this forum

Jenn
Newbie
Newbie
Posts: 19
Joined: Fri Jul 08, 2005 4:00 am
Location: Logan, Utah United States

Post by Jenn » Mon Feb 11, 2008 5:40 pm

Hello,

I recently upgraded to V8.0.0.3.10507, and noticed that the OnEnter/OnExit events are still not triggered when the mouse enters and leaves the chart. My development platform is Microsoft Visual C++.

Are they going to be fixed in the near future?

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Feb 12, 2008 10:55 am

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply