Hi,
I have a component derived from TChartShape called TMyChartShape. In it there are Events such as OnMouseEnter, OnMouseExit, OnClicked, OnDblClicked, OnMouseDown... They all worked as expected in TChart V 8. But with TChart 2011 for BCB 2010, the OnClicked and OnDblClicked are not fired for some reason from TChart, so the TMyChartShape component is not receiving the event! The other events are working as before. Any changes to the OnClick and OnDblClick events?
Thanks
-Bill
OnClick not called!
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: OnClick not called!
Hi Bill,
This works fine for me here using TeeChart Pro 2011.03.30407 VCL with C++ Builder 2011 and attached project. Which TeeChart version are you using? Does the attached project work fine for you?
Thanks in advance.
This works fine for me here using TeeChart Pro 2011.03.30407 VCL with C++ Builder 2011 and attached project. Which TeeChart version are you using? Does the attached project work fine for you?
Thanks in advance.
- Attachments
-
- ShapeClick.zip
- (6.32 KiB) Downloaded 346 times
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 |
Re: OnClick not called!
Thanks. The attachment you sent works find.
I'm using TeeChart Pro 2011.03.30407 VCL with C++ Builder 2010. My TChartShape is in a package and installed as a component. I'll see if I create an example.
-Bill
I'm using TeeChart Pro 2011.03.30407 VCL with C++ Builder 2010. My TChartShape is in a package and installed as a component. I'll see if I create an example.
-Bill
Re: OnClick not called!
Is there a way to compile and link to a debugging version of TeeChart Pro, so I can trace into the OnClick event? I've noticed the changes between TChart version 8 and TChart 2011, and my code has been working find till I installed version 2011.
Thanks
-Bill
Thanks
-Bill
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: OnClick not called!
Hi Bill,
In that case the issue may probably be in your custom TChartShape. You could check that there's no other event or code masking OnClick event.I'm using TeeChart Pro 2011.03.30407 VCL with C++ Builder 2010. My TChartShape is in a package and installed as a component. I'll see if I create an example.
Yes, it is possible for source code customers and Delphi referencing the path to the sources in Delphi. With C++ Builder it may be more complicated, TeeChart is fully written in Delphi. If you can reference and browse Delphi units from C++ Builder there should be no problem then.Is there a way to compile and link to a debugging version of TeeChart Pro, so I can trace into the OnClick event? I've noticed the changes between TChart version 8 and TChart 2011, and my code has been working find till I installed version 2011.
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 |
Re: OnClick not called!
My code have not changed. The only deference is that I've installed Teechart 2011 for builder 2010.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: OnClick not called!
Hi Bill,
We would need a simple example project we can run "as-is" to reproduce the problem here so that we can compare behavior between the two versions.
Thanks in advance.
We would need a simple example project we can run "as-is" to reproduce the problem here so that we can compare behavior between the two versions.
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 |