I have run into a problem with the SubChart tool and frames that I have been able to recreate reliably.
If I place a TeeChart in a frame and add a SubChart tool to that chart, I get an "EAccess Violation with message 'Access violation at address ...'" error message and the program will not run. I am using Borland C++ Builder 6 and TeeChart 2012.
Here are the steps to recreate this problem:
1. Create a new project
2. Create a frame within this project
3. Add a TeeChart to the frame
4. Double click the chart and add a SubChart tool
5. Add a chart and series to the SubChart
6. Add the frame to the main form and run
I have a workaround, but it isn't inconvenient. From the main form (not the frame), double click on the TeeChart and then click on tools. Select and delete the SubChart. Now, the application will run. The TeeChart with SubChart will display properly since this is pulled from the frame. The downside is I have to do this almost every time I want to run the application. This gets quite tedious when developing the code.
Has anyone seen this behavior? Any suggestions on how to fix this in a more permanent manor?
Thanks,
Scott
SubChart in a Frame
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: SubChart in a Frame
Hi Scott,
Apologies for the delayed reply. I could reproduce the problem here and added it (TV52016725) to the bug-list to be fixed for future releases.
Apologies for the delayed reply. I could reproduce the problem here and added it (TV52016725) to the bug-list to be fixed for future releases.
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: SubChart in a Frame
Thanks for the update.
Do you have any other suggestions for a better work around than what I found? It is becoming quite a pain to have to go into the plot from the main form and delete the sub chart from the tools almost every time I recompile.
Thanks,
Scott
Do you have any other suggestions for a better work around than what I found? It is becoming quite a pain to have to go into the plot from the main form and delete the sub chart from the tools almost every time I recompile.
Thanks,
Scott
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: SubChart in a Frame
Hi Scott,
None that I can think of now, sorry.
None that I can think of now, sorry.
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 |