GetChartGalleryFunction bug

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
JES
Newbie
Newbie
Posts: 12
Joined: Thu Feb 06, 2014 12:00 am

GetChartGalleryFunction bug

Post by JES » Wed Mar 12, 2014 7:24 am

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

Yeray
Site Admin
Site Admin
Posts: 9534
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: GetChartGalleryFunction bug

Post by Yeray » Wed Mar 12, 2014 1:13 pm

Hi Janne,

I could reproduce the problem and fixed it for the net maintenance release:
http://bugs.teechart.net/show_bug.cgi?id=631
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

JES
Newbie
Newbie
Posts: 12
Joined: Thu Feb 06, 2014 12:00 am

Re: GetChartGalleryFunction bug

Post by JES » Thu Mar 13, 2014 7:44 am

Hi,

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

Janne

Yeray
Site Admin
Site Admin
Posts: 9534
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: GetChartGalleryFunction bug

Post by Yeray » Thu Mar 13, 2014 4:06 pm

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.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

JES
Newbie
Newbie
Posts: 12
Joined: Thu Feb 06, 2014 12:00 am

Re: GetChartGalleryFunction bug

Post by JES » Tue Mar 18, 2014 7:43 am

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

Yeray
Site Admin
Site Admin
Posts: 9534
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: GetChartGalleryFunction bug

Post by Yeray » Tue Mar 18, 2014 3:52 pm

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 470 times
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

JES
Newbie
Newbie
Posts: 12
Joined: Thu Feb 06, 2014 12:00 am

Re: GetChartGalleryFunction bug

Post by JES » Tue Mar 18, 2014 6:29 pm

Hi,

no it does not.
TeeGally.png
TeeGally.png (14.08 KiB) Viewed 9076 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 9083 times
Janne

Yeray
Site Admin
Site Admin
Posts: 9534
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: GetChartGalleryFunction bug

Post by Yeray » Wed Mar 19, 2014 3:41 pm

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?
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

JES
Newbie
Newbie
Posts: 12
Joined: Thu Feb 06, 2014 12:00 am

Re: GetChartGalleryFunction bug

Post by JES » Mon Apr 07, 2014 5:54 am

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

Post Reply