Page 1 of 1

GetChartGalleryFunction bug

Posted: Wed Mar 12, 2014 7:24 am
by 16568491
Hi,

in TeeChart Pro v2014.10.140220 (32bit VCL) GetChartGalleryFunction opens functions gallery empty (nothing in combo or listbox to select).

After open if you switch first Templates tab and then back to Functions tab then functions list is filled.

Code: Select all

procedure TForm1.Button1Click(Sender: TObject);
var MyFunc:TTeeFunctionClass;
begin
  MyFunc := GetChartGalleryFunction(Self);
end;
Thanks,
Janne

Re: GetChartGalleryFunction bug

Posted: Wed Mar 12, 2014 1:13 pm
by yeray
Hi Janne,

I could reproduce the problem and fixed it for the net maintenance release:
http://bugs.teechart.net/show_bug.cgi?id=631

Re: GetChartGalleryFunction bug

Posted: Thu Mar 13, 2014 7:44 am
by 16568491
Hi,

can you send me fixed file (I can recompile)?

Janne

Re: GetChartGalleryFunction bug

Posted: Thu Mar 13, 2014 4:06 pm
by yeray
Hello,

I've prepared a beta installer so you can check it.
I'll send the link to the mail account you have registered in this forum.

Re: GetChartGalleryFunction bug

Posted: Tue Mar 18, 2014 7:43 am
by 16568491
Hi,

this version does not open dialog at all.

(Even in chart editor if you try to change series type (Change button) it does not open anything).

Janne

Re: GetChartGalleryFunction bug

Posted: Tue Mar 18, 2014 3:52 pm
by yeray
Hello Janne,

Find attached a simple example project. It opens the functions gallery when I click the button.
Doesn't it work for you?
testGally.zip
(1.51 KiB) Downloaded 506 times

Re: GetChartGalleryFunction bug

Posted: Tue Mar 18, 2014 6:29 pm
by 16568491
Hi,

no it does not.
TeeGally.png
TeeGally.png (14.08 KiB) Viewed 9377 times
I have also DewReserch components which integrates yours component (I have recompiled all), so could this be problem.
(it does not add anything on functions list but in gallery list it does)
Has always worked fine before.
DewResearch.png
DewResearch.png (20.28 KiB) Viewed 9384 times
Janne

Re: GetChartGalleryFunction bug

Posted: Wed Mar 19, 2014 3:41 pm
by yeray
Hi Janne,

That's strange. What OS and IDE are you running?
JES wrote:I have also DewReserch components which integrates yours component (I have recompiled all), so could this be problem.
(it does not add anything on functions list but in gallery list it does)
Has always worked fine before.
Have you tried unchecking DewReserch packages in the components list in the IDE to see if it makes the difference?

Re: GetChartGalleryFunction bug

Posted: Mon Apr 07, 2014 5:54 am
by 16568491
Hi,

sorry for late reply.

I tried to uncheck DewReserch (no difference).

Delphi Version is XE3 and OS is Win7 Pro

Now I had time to check this, and it seems that in this version in code active tab was left to Templates tab (TeeGally.pas) (and it is not visible when you call GetChartGalleryFunction, so that was reason of List index out of bounds (3).

Otherwise it is now working, thanks!

Janne