Page 1 of 1

TeeValueSingle in TChart 8.03

Posted: Sat Aug 09, 2008 1:25 am
by 10047094
Hello,

I am wondering if we can expect TChart to compile with TeeValueSingle in the 8.03 release.

Posted: Mon Aug 11, 2008 11:07 am
by Pep
Hi Dave,

I've just tried to do it here with the latest sources and only appear a few errors which can be fixed easily ( changing the Double definition by TChartValue ). If you're source code customer you can edit the teeDefs.inc file and modify it changing :

Code: Select all

{$DEFINE TEEVALUEDOUBLE}
{.$DEFINE TEEVALUESINGLE}
{.$DEFINE TEEVALUEEXTENDED}
by

Code: Select all

{.$DEFINE TEEVALUEDOUBLE}
{$DEFINE TEEVALUESINGLE}
{.$DEFINE TEEVALUEEXTENDED}
and then rebuild the sources.

Posted: Thu Sep 04, 2008 6:26 am
by 10047094
Hi Pep,

I know its a pretty easy fix. We have done it for most things. However, we have a long list of TChart fixes/enhancements we have to manually make every time we upgrade, and I would like to remove these from the list if possible.

Posted: Mon Sep 08, 2008 10:33 am
by narcis
Hi Pep,

We made the changes for the next maintenance release so that you can build your application without making any change.

Posted: Thu Nov 27, 2008 4:36 am
by 10047094
Hi Narcis,

Can you confirm that 8.04 can compile with TeeValueSingle. It was not listed in the release notes as something that was changed.

Posted: Mon Dec 01, 2008 4:15 pm
by narcis
Hi Dave,

A little change in TeeSurfa.pas seems to be necessary in v8.04. FYPosition and YPosition need to be declared as TChartValue instead of Double.

Posted: Mon Dec 01, 2008 4:24 pm
by 10047094
Hi Narcis,

Can I suggest you add it to your test script to re-compile with the different TeeValueXXX and run your test scripts with each one, presuming that you do have automated testing. The TeeValueXXX are very useful to have, as long as they work. Knowing you do not even try to compile using them does not leave me with a confident feeling :D

Posted: Mon Dec 01, 2008 4:35 pm
by narcis
Hi Dave,

Before posting my previous reply I ran TeeRecompile using TEEVALUESINGLE instead of TEEVALUEDOUBLE. I've also repeated manual tests now with all 3 options available and all of them worked fine for me here.

Posted: Mon Dec 01, 2008 4:41 pm
by 10047094
Hi Narcis,

That is good news at least. Is TeeRecompile something we have access to?

Posted: Mon Dec 01, 2008 4:44 pm
by narcis
Hi dave,

This is available to sourcecode customers. It's included with the source code installer and available at TeeChart's program group. It automatically compiles TeeChart and installs it to your IDEs.