Hi Narcis,
As you suggested I decided to start a new thread concerning Chart Editor (Tree mode) problems. Probably there are several issues, but lets consider them one by one.
I uploaded "Miket_ChartEditor.zip" (steema upload page) with a project (Rad studio 2007 Win32) demonstrating the probrem(s). Please, see comments in the source file for details. Teechart version 8.01 (September).
I am ready to test all modifications of the source. In my big project I often face the situation when something is modifying a chart, sometimes it happens when ChartEditor dialog is opened. It is simulated in the example with the help of a timer, but reality, of course, is much more complicated.
So I am ready to test your fixes in "real" life.
Best regards,
Michael
ChartEditor (Tree mode) problems
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Michael,
Thanks for the example project. I just got an Access Violation folllowed by 'Control 'TabSeriesList; has no parent window' error selecting the series title under the "series" node. I've added it (TV52012464) to our defect list to be fixed for next releases.
Thanks for the example project. I just got an Access Violation folllowed by 'Control 'TabSeriesList; has no parent window' error selecting the series title under the "series" node. I've added it (TV52012464) to our defect list to be fixed for next 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 |
Hi Narcis,
I believe that this example helps to reveal several similar problems. You will be able to obtain errors in different places of Teechart using different sequencies of node selections. For example, try to select "Data" node first, or try to play with Series node and its subnode.
Best regards,
Michael
I believe that this example helps to reveal several similar problems. You will be able to obtain errors in different places of Teechart using different sequencies of node selections. For example, try to select "Data" node first, or try to play with Series node and its subnode.
Best regards,
Michael
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Michael,
Thanks for the information.
I could reproduce the "Data" node error as well an added it to the defect list. However, it seems the same problem as the other issue as it gives the same error in the same line of code. Regarding the series node and subnode issue it's what I already meant in my previous post.
Thanks for the information.
I could reproduce the "Data" node error as well an added it to the defect list. However, it seems the same problem as the other issue as it gives the same error in the same line of code. Regarding the series node and subnode issue it's what I already meant in my previous post.
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:
Hi Michael,
After investigating the issue a little bit I found the problem is the timer. When the editor is running timer is removing and creating series and therefore exceptions occur when series related tabs are being opened. You can avoid that disabling the timer before opening the editor and enabling it again after the editor is closed, for example:
After investigating the issue a little bit I found the problem is the timer. When the editor is running timer is removing and creating series and therefore exceptions occur when series related tabs are being opened. You can avoid that disabling the timer before opening the editor and enabling it again after the editor is closed, for example:
Code: Select all
procedure TForm14.Button1Click(Sender: TObject);
begin
Timer1.Enabled:=false;
ChartEditor1.Execute;
Timer1.Enabled:=true;
end;
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 |
It is a very limiting solution!
Hi Narcis,
Of course, I know that the problem is caused by timer. I used timer in order to simulate much more complicated situation typical for multithreaded applications: some thread computes something and updates the contents of a chart from time to time (of course, in the contest of the main thread using Synchronize, for example). It may happen, that a user opens Chart Editor in order to change some settings. So your solution means that I must block access to the Chart Editor while computations are running. It is rather limiting approach, I would prefer to find much more flexible solution.
It is also necessary to stress, that in Tree=false mode everything works smootly.
Please, check my comments in the code, there are proposals to comment some lines in order to reveal other problems with Chart Editor.
Best regards,
Michael
Of course, I know that the problem is caused by timer. I used timer in order to simulate much more complicated situation typical for multithreaded applications: some thread computes something and updates the contents of a chart from time to time (of course, in the contest of the main thread using Synchronize, for example). It may happen, that a user opens Chart Editor in order to change some settings. So your solution means that I must block access to the Chart Editor while computations are running. It is rather limiting approach, I would prefer to find much more flexible solution.
It is also necessary to stress, that in Tree=false mode everything works smootly.
Please, check my comments in the code, there are proposals to comment some lines in order to reveal other problems with Chart Editor.
Best regards,
Michael
Although I have no access to Miket's example code, I can confirm that we see similar problems ('Control XX has no parent window') using the version 7.12 code.
As I wrote in a previous topic, Bug fixes in version 8, the most important issue for us that use TeeChart as a 3rd party tool in our own software product is that the number of bugs is small and that existing bugs are fixed (as opposed to constantly added new features with possibly associated new bugs). We cannot constantly invest in new versions just to find out that old bugs still remain!
As I wrote in a previous topic, Bug fixes in version 8, the most important issue for us that use TeeChart as a 3rd party tool in our own software product is that the number of bugs is small and that existing bugs are fixed (as opposed to constantly added new features with possibly associated new bugs). We cannot constantly invest in new versions just to find out that old bugs still remain!
Thankyou for your comments.
Steema tries to make as many necessary fixes as possible to any outstanding bugs during the lifecycle of a full version and to continue where possible to provide update support for critical issues after a version is superseded by a following version. TeeChart Pro VCL version 7 has been available through more than 3 years of numerous maintenance releases through which many issues have been dealt with successfully. We hope our customers feel that the quality of the product offers a good return on their investment and that timely full version updates still present better value than an annual subscription fee might do. We would be happy to discuss views on a continuous subscription approach with any customers interested in doing so.
Regards,
Marc Meumann
Steema tries to make as many necessary fixes as possible to any outstanding bugs during the lifecycle of a full version and to continue where possible to provide update support for critical issues after a version is superseded by a following version. TeeChart Pro VCL version 7 has been available through more than 3 years of numerous maintenance releases through which many issues have been dealt with successfully. We hope our customers feel that the quality of the product offers a good return on their investment and that timely full version updates still present better value than an annual subscription fee might do. We would be happy to discuss views on a continuous subscription approach with any customers interested in doing so.
Regards,
Marc Meumann
Steema Support
Dear Mr. Marc Meumann,
Please note, that my initial post was related to the latest TeeChart 8.01 (September) release. I had submitted a test case project clearly demonstrating a problem(s) in the Chart Editor, when it works in tree mode.
Unortunately I didn't receive a constructive reply on the subject (see messages in this thread and the test case).
I also submitted another test cases related to RoundMinimum and RoundMaximum properties problems during beta testing of the 8.xx release. Unfortunatly these problems are not fixed in the 8.01.10798 release as well.
Please, take into account that preparation and submission of each test case definitely requires significant efforts and time. I even indicated sections of problematic TeeChart code with suggestions for changes.
Sincerely,
Michael
Please note, that my initial post was related to the latest TeeChart 8.01 (September) release. I had submitted a test case project clearly demonstrating a problem(s) in the Chart Editor, when it works in tree mode.
Unortunately I didn't receive a constructive reply on the subject (see messages in this thread and the test case).
I also submitted another test cases related to RoundMinimum and RoundMaximum properties problems during beta testing of the 8.xx release. Unfortunatly these problems are not fixed in the 8.01.10798 release as well.
Please, take into account that preparation and submission of each test case definitely requires significant efforts and time. I even indicated sections of problematic TeeChart code with suggestions for changes.
Sincerely,
Michael