Page 1 of 1

Bug adding TColorLines & TGridBand Tools to customaxes

Posted: Sun Nov 12, 2017 10:49 pm
by 16581939
Hello,

I think I found a bug in Teechart. I am using TDBChart:
In de Design Editor, if you add a number of custom axes, then add TColorline tools (or Gridbands, same problem) and you want to connect them to the custom axes, it seems it wants to connect to the next custom axes. In fact, if you want to connect a TColorLine tool to the last customaxis, you get an AV, indicating de designer want so connect to a customaxis that does not exist (index 1 higher than the last one).
I think this bug has crept in one of the more recent updates because a year ago I had no problems here. Also if I do not tough the dfm code there is no problem, so it seems to be in the Design time code only.

Please advise or fix in a next update.

regards, Wilfried Visser
VisserTek

Re: Bug adding TColorLines & TGridBand Tools to customaxes

Posted: Mon Nov 13, 2017 8:34 am
by yeray
Hello Wilfried Visser,

I've reproduced the problem so I've added it to the public tracker:
http://bugs.teechart.net/show_bug.cgi?id=1941

Note I've already fixed it for the next maintenance release.