Page 1 of 1

TTree is slow in design with Teechart2013

Posted: Thu Jan 23, 2014 5:19 pm
by 16468279
Hi,
I have Delphi 2007 on windows 7, when I put some pictures in design in TTree it's very slow.
I tried this:

Code: Select all

(Tree2.Canvas as TGDIPlusCanvas).AntiAlias:=False;
: it doesn't change any thing.
I tried with

Code: Select all

 Tree.Canvas:=TTeeCanvas3D.Create;
: it's very better but the transparency doesn't work.

Why it's so slow with TGDIPlusCanvas?
Why I don't have transparency with TTeeCanvas3D?

The source and binary of a sample project is joined.

Re: TTree is slow in design with Teechart2013

Posted: Thu Jan 23, 2014 6:15 pm
by 16468279
With files Sources it's better

Re: TTree is slow in design with Teechart2013

Posted: Fri Jan 24, 2014 3:43 pm
by yeray
Hello,

I'm not sure about what exact TeeChart version are you using but I see the transparencies with GDI (TTeeCanvas3D) here with TeeChart v2013.09:
testTransparency.png
testTransparency.png (201.94 KiB) Viewed 16462 times
Find the project attached:
TeeTreeAndSlowGDIPlus.zip
(915.47 KiB) Downloaded 930 times

Re: TTree is slow in design with Teechart2013

Posted: Fri Jan 24, 2014 8:45 pm
by 16468279
With GDI+ the background of picture I added, has a background transparent (It's a PNG)
If I clic on the button, it switch in GDI,after this, the picture has not a background transparent

Re: TTree is slow in design with Teechart2013

Posted: Wed Feb 05, 2014 1:34 pm
by 16468279
Is there a solution to have image(png) with transparent background with GDI?

Re: TTree is slow in design with Teechart2013

Posted: Wed Feb 05, 2014 4:03 pm
by yeray
Hello,

I could reproduce the problem so I've added it to the bug tracker:
http://bugs.teechart.net/show_bug.cgi?id=561

Feel free to subscribe to the ticket status by adding your mail to the CC list.

Re: TTree is slow in design with Teechart2013

Posted: Wed Mar 05, 2014 2:22 pm
by 16468279
Hi,

In GDI+, TeeTree is very slow only when I active the tranparency of the picture.
TeeChart is very slow too if I put a picture and active BackImageTransp.

Actualy I use Delphi 2007, do you have the same problem with other versions of Delphi?

Re: TTree is slow in design with Teechart2013

Posted: Thu Mar 06, 2014 10:25 am
by yeray
Hello,
mivtee wrote:In GDI+, TeeTree is very slow only when I active the tranparency of the picture.
TeeChart is very slow too if I put a picture and active BackImageTransp.
It seems to depend on the image format too. Take a look at the project attached
test_transparent_images.zip
(229.69 KiB) Downloaded 895 times
mivtee wrote:Actualy I use Delphi 2007, do you have the same problem with other versions of Delphi?
I reproduce this with Delphi 7. I don't think it's IDE dependant.