Page 1 of 1

Strange Behavior of the TColorBandTool

Posted: Wed Feb 26, 2014 11:59 am
by 16565588
I have strange bug in the new release of the TeeChart: (using CBuilderXE5)
If I put TColorBandTool to the chart, then compile, it works well.

But if I'll view the Form as Text, then again as Form, there will be visible in Tools of the Chart 3 ChartTools: one band and two additional TColorLineTools.
If I'do this again (view Form as Text then view as Form) I'get additional 2 ColorLines, and so on.
Additional TColorLines are ghost.

For this reason I have on my application AV and can't use TColorBand at all.

Withis the Test.zip it is possible to see ghost ColorLines.

Re: Strange Behavior of the TColorBandTool

Posted: Wed Feb 26, 2014 12:15 pm
by 16565588
This bug is connected by some way with the new AxisID, I don't know why...

Re: Strange Behavior of the TColorBandTool

Posted: Thu Feb 27, 2014 2:45 pm
by yeray
Hi Vladimir,

I've added it to the tracker:
http://bugs.teechart.net/show_bug.cgi?id=610

Feel free to add your mail account to the CC list so you can be automatically informed when an update will arrive.

Re: Strange Behavior of the TColorBandTool

Posted: Fri Feb 28, 2014 11:31 am
by narcis
Hi Vladimir,

This issue has just been fixed for the next maintenance release, see David Berneda's comment.

Re: Strange Behavior of the TColorBandTool

Posted: Sat Mar 01, 2014 7:02 am
by 16565588
Hi, Narcis
Can you give a peace of code (TColorBandTool) to fix the problem, as next maintenance release will not be soon, I think.

Re: Strange Behavior of the TColorBandTool

Posted: Mon Mar 03, 2014 7:53 am
by narcis
Hi Vladimir,

Yes, I sent you TeeTools.pas with the fix.

Re: Strange Behavior of the TColorBandTool

Posted: Mon Mar 03, 2014 11:15 am
by 16565588
Dear Narcís
I got very strange error:
Cant recompile with new TeeTools.pas:

Cannot recompile Delphi package: TeePro919.dpk
Embarcadero Delphi for Win32 compiler version 26.0
Copyright (c) 1983,2013 Embarcadero Technologies, Inc.
VCLTee.TeeTools.pas(3742) Error: E2003 Undeclared identifier: 'InternalSetAxis'
VCLTee.TeeCursorEdit.pas(509) Fatal: F2063 Could not compile used unit 'VCLTee.TeeTools.pas'
EXCEPTION:
Compilation aborted.

Re: Strange Behavior of the TColorBandTool

Posted: Mon Mar 03, 2014 11:41 am
by narcis
Hi Vladimir,

I sent you a test source code installer with all up to date units.

Re: Strange Behavior of the TColorBandTool

Posted: Sat Mar 08, 2014 8:59 pm
by 16568293
Hello Narcís,

I do have the same problem.
It took me quite a while to detect for the reason why my exe code was growing and growing.

Can I get a bugfix as soon as possible please? I have to deliver my software.
I'm using VCL Pro source code 2014 with XE4

Thanks
Uli

Re: Strange Behavior of the TColorBandTool

Posted: Mon Mar 10, 2014 3:59 pm
by narcis
Hi Uli,

Just sent you an email with the information to download it.

Re: Strange Behavior of the TColorBandTool

Posted: Mon Mar 10, 2014 7:54 pm
by 16567885
I have not yet updated to the 2014 release. I am however, making extensive use of Color Band because they're cool. Do you guys have a recommendation whether one should update or wait for the next release?


By the way, I am also a sourcecode customer but I honestly have no clue how it should be used it. I cannot find any documentation on the subject.

Best regards.

Re: Strange Behavior of the TColorBandTool

Posted: Tue Mar 11, 2014 7:54 am
by 16568293
Dear Narcís,

I have tried to install the version you have sent but have simply failed. I have sent you also a private message about this.

So right now I have re-installed the source of Feb. 24 again and switched back to GDI.

It seems that GDI+ has some problems, see also TNumericGauge http://www.teechart.net/support/viewtop ... =3&t=14743

- Uli

Re: Strange Behavior of the TColorBandTool

Posted: Tue Mar 11, 2014 9:07 am
by narcis
Hi Uli,

That's an error with TAskLanguage.OKBtnClick method at TeeTranslateEditor.pas. You can comment out the code in this method. It has been fixed for future releases as well.