Code generation for property 'CalcYPosValue' failed

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
JohnS
Newbie
Newbie
Posts: 31
Joined: Mon Aug 26, 2013 12:00 am

Code generation for property 'CalcYPosValue' failed

Post by JohnS » Thu Sep 05, 2013 8:35 am

Hello,

all of a sudden when we try save changes to our project we get the enclosed error message.
This means that we can't save the project, and therefore can't do any changes to our project.

Please inform what to do ASAP, as our programmer is waiting!
Attachments
Error message.jpg
Error message.jpg (35.83 KiB) Viewed 9949 times

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

Re: Code generation for property 'CalcYPosValue' failed

Post by Narcís » Thu Sep 05, 2013 8:37 am

Hi JohnS,

Can you please post the code snippet that produces this error?

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

JohnS
Newbie
Newbie
Posts: 31
Joined: Mon Aug 26, 2013 12:00 am

Re: Code generation for property 'CalcYPosValue' failed

Post by JohnS » Thu Sep 05, 2013 8:58 am

It is at design time in Visual Studio, when we try to compile or save the project.
The property CalcYPosValue is some TeeChart internal stuff.

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

Re: Code generation for property 'CalcYPosValue' failed

Post by Narcís » Thu Sep 05, 2013 9:17 am

JohnS wrote:It is at design time in Visual Studio, when we try to compile or save the project.
Ok, I could reproduce it dropping a TChart component in a Windows Form at design-time. It also occurs trying to modify it and saving the form. I have added the defect to the bug list (TF02016706) to be fixed ASAP. We will get back to you when we have a bug fix or workaround suggestion.
JohnS wrote:The property CalcYPosValue is some TeeChart internal stuff.
Actually CalcYPosValue is a public Steema.TeeChart.Axis method. Returns the pixel screen vertical coordinate of the specified value, for example:

Code: Select all

      int yPos= tChart1.Axes.Left.CalcYPosValue(100);
It might be used internally in TeeChart too.
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

JohnS
Newbie
Newbie
Posts: 31
Joined: Mon Aug 26, 2013 12:00 am

Re: Code generation for property 'CalcYPosValue' failed

Post by JohnS » Thu Sep 05, 2013 9:27 am

But how could our program work until now??

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

Re: Code generation for property 'CalcYPosValue' failed

Post by Narcís » Thu Sep 05, 2013 10:33 am

Hi JohnS,

We are currently working to fix the issue. I'm going to send you a new assembly with the fix as soon as it's ready. It looks like the problem only occurs with the version we had sent you, not the latest public release.
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: Code generation for property 'CalcYPosValue' failed

Post by Narcís » Thu Sep 05, 2013 2:18 pm

Hi JohnS,

Just sent you the assembly with the fix. Can you please check if it solves the issue at your end?

Thank you very much and apologies for the inconvenience caused.
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

JohnS
Newbie
Newbie
Posts: 31
Joined: Mon Aug 26, 2013 12:00 am

Re: Code generation for property 'CalcYPosValue' failed

Post by JohnS » Fri Sep 06, 2013 6:36 am

It worked, thanks!

Post Reply