Property does not exist!!!

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
johnnix
Advanced
Posts: 192
Joined: Tue Jul 10, 2007 12:00 am

Property does not exist!!!

Post by johnnix » Thu Nov 04, 2010 10:01 am

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

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Property does not exist!!!

Post by Narcís » Thu Nov 04, 2010 10:58 am

Hello johnnix,

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
Image Image Image Image Image Image
Instructions - How to post in this forum

johnnix
Advanced
Posts: 192
Joined: Tue Jul 10, 2007 12:00 am

Re: Property does not exist!!!

Post by johnnix » Thu Nov 04, 2010 12:55 pm

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...

Badger101
Newbie
Newbie
Posts: 7
Joined: Fri Nov 15, 2002 12:00 am

Re: Property does not exist!!!

Post by Badger101 » Fri Nov 05, 2010 10:34 am

Hi,

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.

johnnix
Advanced
Posts: 192
Joined: Tue Jul 10, 2007 12:00 am

Re: Property does not exist!!!

Post by johnnix » Fri Nov 05, 2010 10:43 am

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 :shock: .... why? :wink:

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Property does not exist!!!

Post by Narcís » Fri Nov 05, 2010 11:01 am

Hi Badger101,

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
Image Image Image Image Image Image
Instructions - How to post in this forum

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Property does not exist!!!

Post by Narcís » Fri Nov 05, 2010 11:02 am

Hi johnnix,
Then it works ok.... why?
Because your new project doesn't have old version paths "hardcoded".
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Badger101
Newbie
Newbie
Posts: 7
Joined: Fri Nov 15, 2002 12:00 am

Re: Property does not exist!!!

Post by Badger101 » Fri Nov 05, 2010 12:13 pm

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

Badger101
Newbie
Newbie
Posts: 7
Joined: Fri Nov 15, 2002 12:00 am

Re: Property does not exist!!!

Post by Badger101 » Fri Nov 05, 2010 12:40 pm

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?

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Property does not exist!!!

Post by Narcís » Fri Nov 05, 2010 2:21 pm

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

johnnix
Advanced
Posts: 192
Joined: Tue Jul 10, 2007 12:00 am

Re: Property does not exist!!!

Post by johnnix » Sat Nov 06, 2010 12:52 pm

Narcís wrote:Hi johnnix,
Then it works ok.... why?
Because your new project doesn't have old version paths "hardcoded".
Hello Narcis,

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

johnnix
Advanced
Posts: 192
Joined: Tue Jul 10, 2007 12:00 am

Re: Property does not exist!!!

Post by johnnix » Sun Nov 07, 2010 10:51 am

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

Badger101
Newbie
Newbie
Posts: 7
Joined: Fri Nov 15, 2002 12:00 am

Re: Property does not exist!!!

Post by Badger101 » Mon Nov 08, 2010 6:29 am

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

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Property does not exist!!!

Post by Narcís » Mon Nov 08, 2010 9:15 am

Hello,

Thanks for your feedback.
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).
We already changed PNGImage to TeePNGImage. I'll check if this can also be changed.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply