Page 1 of 1

Code generation for property 'CalcYPosValue' failed

Posted: Thu Sep 05, 2013 8:35 am
by 15666870
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!

Re: Code generation for property 'CalcYPosValue' failed

Posted: Thu Sep 05, 2013 8:37 am
by narcis
Hi JohnS,

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

Thanks in advance.

Re: Code generation for property 'CalcYPosValue' failed

Posted: Thu Sep 05, 2013 8:58 am
by 15666870
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.

Re: Code generation for property 'CalcYPosValue' failed

Posted: Thu Sep 05, 2013 9:17 am
by narcis
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.

Re: Code generation for property 'CalcYPosValue' failed

Posted: Thu Sep 05, 2013 9:27 am
by 15666870
But how could our program work until now??

Re: Code generation for property 'CalcYPosValue' failed

Posted: Thu Sep 05, 2013 10:33 am
by narcis
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.

Re: Code generation for property 'CalcYPosValue' failed

Posted: Thu Sep 05, 2013 2:18 pm
by narcis
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.

Re: Code generation for property 'CalcYPosValue' failed

Posted: Fri Sep 06, 2013 6:36 am
by 15666870
It worked, thanks!