Hi,
Is this another possible bug????? Need urgent help.
I am using TeeChart AX7 v. 7.0.0.5.
I have two series line and point, I add the marktip tool to both series, then
I have the following code:
Private Sub TChart1_OnMarkTipToolGetText(ByVal Tool As Long, Text As String)
If Tool = 1 Then
Text = "Subgroup No 1"
Else
Text = "Subgroup No 2"
End If
End Sub
I see the tips when I move the mouse over the points, but when I move the mouse out of the chart area on to the form it chrashes VB6 totally. I get the following error message:
"Runtime Error 216 at 0462380E".
When I use the earlier version TeeChart AX6 (v. 6.0.0.5) it works fine, except the tool tip boxes "ghost" on the chart area.
Does anyone have an answer/solution to this problem?
I upgraded to TeeChart AX7 because of the "ghosting" problem - now I have this problem.
Thanks,
Tom.k
Mark Tip Tool Crashes VB6
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Tom.k,
I'm not able to reproduce the problem you report using the code below.
Can you please test if this works for you? If this doesn't work we could send you our latest .ocx build. If it works but not your project, could you please send us an example we can run "as-is" to reproduce the problem here? You can post your files at news://www.steema.net/steema.public.attachments newsgroup.
I'm not able to reproduce the problem you report using the code below.
Code: Select all
Private Sub Form_Load()
For i = 0 To 1
TChart1.Series(i).FillSampleValues 10
TChart1.Tools.Add tcMarksTip
TChart1.Tools.Items(i).asMarksTip.Series = TChart1.Series(i)
Next
End Sub
Private Sub TChart1_OnMarkTipToolGetText(ByVal Tool As Long, Text As String)
If Tool = 0 Then
Text = "tool 1"
Else
Text = "tool 2"
End If
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 |
Mark Tip Tool Crashes VB6
Hi Narsis,
Thanks for your reply. The code does not work, still crashes VB6 when you move the mouse out of the chart. BTW I am using XP SP 2.
(However the code did work in v. 6 with the ghosting.)
I am really keen to get this resolved and would appreciate if you could send the latest .ocx.
Thanks
Tom.k
Thanks for your reply. The code does not work, still crashes VB6 when you move the mouse out of the chart. BTW I am using XP SP 2.
(However the code did work in v. 6 with the ghosting.)
I am really keen to get this resolved and would appreciate if you could send the latest .ocx.
Thanks
Tom.k
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Tom.k,
I've sent you latest .ocx built available to your e-mail contact address. Can you please test if it works for you and let us know?
I've sent you latest .ocx built available to your e-mail contact address. Can you please test if it works for you and let us know?
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 |
Mark Tip Tool Crashes VB6
Thanks Narsis!
The updated OCX resolved the problem. That was great support from you guys!
Tom.k
The updated OCX resolved the problem. That was great support from you guys!
Tom.k
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
You're welcome Tom.k,
I'm glad to hear this solved your problem.
I'm glad to hear this solved your problem.
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 |