Hello,
I would like to display a GIF image in background with animation in the TeeTree is this possible?
how to make the code in runtime?
Back Image Gif
Re: Back Image Gif
Hi mivchart,
The following code seems to work fine for me here:
Doesn't it for you?
The following code seems to work fine for me here:
Code: Select all
uses TeeGif;
procedure TForm1.FormCreate(Sender: TObject);
begin
Tree1.BackImage.LoadFromFile('C:\tmp\Triple-Spiral-Labyrinth-animated.gif');
end;
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Back Image Gif
Ok,
But Backimage with animation Gif ?
But Backimage with animation Gif ?
Re: Back Image Gif
Hi mivchart,
Here it is the gif I used to check it: I can see the animation in the tree.
Here it is the gif I used to check it: I can see the animation in the tree.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Back Image Gif
Ok, that good,
but for your information, don't load in desgin mode Teetree > crash IDE D2007.
If you load image by coe in runtime > this Ok
thanks
but for your information, don't load in desgin mode Teetree > crash IDE D2007.
If you load image by coe in runtime > this Ok
thanks
Re: Back Image Gif
Hi mivchart,
I've been able to run it in D2007 here without any error. I've tried it in design time and also at runtime. Here is the code I used:
Could you please arrange a simple example project we can run as-is to reproduce the problem here?
However I've seen that the animation is lost and the image is static. I've added it to the wish list to be revised for future releases (TV52015342).
I've been able to run it in D2007 here without any error. I've tried it in design time and also at runtime. Here is the code I used:
Code: Select all
uses TeeGif;
procedure TForm1.FormCreate(Sender: TObject);
begin
Tree1.BackImage.LoadFromFile('C:\tmp\Triple-Spiral-Labyrinth-animated.gif');
end;
However I've seen that the animation is lost and the image is static. I've added it to the wish list to be revised for future releases (TV52015342).
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |