Property does not exist!!!
Property does not exist!!!
Hello,
I have a project that uses TeeChart 8.06 under TurboDelphi. Today I made a clean install of Delphi 2007, installed the latest TeeChart 2010 (again various issues with PngComponents ) and opened my project from 2010. Compile ok but when I run it I get an Application Error where several properties on Charts or Series do not exist. I cut and paste a plot and again the same kind of errors (different this time e.g. "Error reading Chart1.BackWall.Brush.Gradient.Direction: Property BackWall.Brush.Gradient.Direction does not exist"). Anyone have a solution with this (I do not want to go back to 8.06 or 8.07).
Regards
I have a project that uses TeeChart 8.06 under TurboDelphi. Today I made a clean install of Delphi 2007, installed the latest TeeChart 2010 (again various issues with PngComponents ) and opened my project from 2010. Compile ok but when I run it I get an Application Error where several properties on Charts or Series do not exist. I cut and paste a plot and again the same kind of errors (different this time e.g. "Error reading Chart1.BackWall.Brush.Gradient.Direction: Property BackWall.Brush.Gradient.Direction does not exist"). Anyone have a solution with this (I do not want to go back to 8.06 or 8.07).
Regards
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Property does not exist!!!
Hello johnnix,
As discussed here, this problem indicates your Delphi is still referencing old TeeChart versions.
As discussed here, this problem indicates your Delphi is still referencing old TeeChart versions.
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: Property does not exist!!!
Hello,
Thank you for the info. I read the post but it has nothing to do with references to old TChart versions.... I will try the solution described...
Thank you for the info. I read the post but it has nothing to do with references to old TChart versions.... I will try the solution described...
Re: Property does not exist!!!
Hi,
I am having exactly the same problem. I am trying to upgrade from Borland C++ builder 6 to RAD studio 2010.
I get
I have uninstalled all other versions of TeeChart and it still gives me this problem.
I am having exactly the same problem. I am trying to upgrade from Borland C++ builder 6 to RAD studio 2010.
I get
.Error reading Chart1->BackWall.Brush.Gradient.Direction: Property BackWall.Brush.Gradient.Direction does not exist
I have uninstalled all other versions of TeeChart and it still gives me this problem.
Re: Property does not exist!!!
Hello,
A workarround for me is the following:
1. Open IDE
2. Create a new project
3. Open my project file
Then it works ok .... why?
A workarround for me is the following:
1. Open IDE
2. Create a new project
3. Open my project file
Then it works ok .... why?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Property does not exist!!!
Hi Badger101,
Can you please check your RAD Studio 2010 paths are set as I described here?
Thanks in advance.
Can you please check your RAD Studio 2010 paths are set as I described here?
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 |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Property does not exist!!!
Hi johnnix,
Because your new project doesn't have old version paths "hardcoded".Then it works ok.... why?
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: Property does not exist!!!
Narcis,
I have looked at the link you provided and tried to apply it to the best of my abilities in C++ Builder 2010 but still have the same problems. I might have missed something since the link describes how it should be in Delphi not in C++.
I might be wrong but the link also shows for if you compiled the packages from source, I am using it as-is from the installer.
Thanks
I have looked at the link you provided and tried to apply it to the best of my abilities in C++ Builder 2010 but still have the same problems. I might have missed something since the link describes how it should be in Delphi not in C++.
I might be wrong but the link also shows for if you compiled the packages from source, I am using it as-is from the installer.
Thanks
Re: Property does not exist!!!
I have tried uninstalling all of the TeeCharts that I have tested and still found all the versions' bpl files in my windows/system32/ folder. Is this deliberate or doesn't the uninstaller for TeeChart remove everything it installed?
I have removed all these bpl files and re-installed TeeChart2010Delphi2010 but still get the same error. Is there other files in other locations that the uninstallers miss?
I have removed all these bpl files and re-installed TeeChart2010Delphi2010 but still get the same error. Is there other files in other locations that the uninstallers miss?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Property does not exist!!!
Hi Badger101,
In C++ Builder you should check following paths:
1. At Tools -> Environment Options -> C++ Options -> Include Path check that $(TEEINCPATH) or TeeChart's Include folder is on *top* of the list.
2. At Tools -> Environment Options -> C++ Options -> Library Path check that $(TEELIBPATH) or TeeChart's Lib and \Lib\obj folders are on *top* of the list.
3. At Project -> Options -> Packages check that 2010 version packages are enabled.
In C++ Builder you should check following paths:
1. At Tools -> Environment Options -> C++ Options -> Include Path check that $(TEEINCPATH) or TeeChart's Include folder is on *top* of the list.
2. At Tools -> Environment Options -> C++ Options -> Library Path check that $(TEELIBPATH) or TeeChart's Lib and \Lib\obj folders are on *top* of the list.
3. At Project -> Options -> Packages check that 2010 version packages are enabled.
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: Property does not exist!!!
Hello Narcis,Narcís wrote:Hi johnnix,
Because your new project doesn't have old version paths "hardcoded".Then it works ok.... why?
Yes, you are correct about the new project but what about the old project I open afterwards with no problem? Where are the "old" references that now seem to disappear? What changes after I create a new project that makes my old project open with no problem?
Regards
Re: Property does not exist!!!
Ok, here is an update. I tried everything step by step and I concluded that pngimage is used in a lot of components out there but since it requires zlib and pnglang everybody changes the names of these files so I would suggest you to consider changing the names to TeePngLang and TeeZLib (I did that).
Regards
Regards
Re: Property does not exist!!!
My solution was to re-create the project from scratch and then including the source files from the old project into the new one. Could not get it working by changing my paths...
Thanks for the help Narcis
Thanks for the help Narcis
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Property does not exist!!!
Hello,
Thanks for your feedback.
Thanks for your feedback.
We already changed PNGImage to TeePNGImage. I'll check if this can also be changed.johnnix wrote:I tried everything step by step and I concluded that pngimage is used in a lot of components out there but since it requires zlib and pnglang everybody changes the names of these files so I would suggest you to consider changing the names to TeePngLang and TeeZLib (I did that).
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 |