GIFImage unit

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
frank
Newbie
Newbie
Posts: 4
Joined: Thu Jan 11, 2007 12:00 am

GIFImage unit

Post by frank » Thu Jan 18, 2007 8:28 am

Hi !

i wonder if i can use the gifimage unit not for a chart.
For example, can i use it to load animated gif in a TImage component?

If it is possible, how use it?

thx
Frank

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Thu Jan 18, 2007 9:48 am

Hi Frank,

Yes, here you'll find an example on how to use TeeGIF unit. Instead of assigning a chart image to it you can try loading a .gif file and assign it to a TImage component.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

frank
Newbie
Newbie
Posts: 4
Joined: Thu Jan 11, 2007 12:00 am

Post by frank » Thu Jan 18, 2007 10:19 am

thx for your answer. the example is based from coding, so the gif picture would be out of the .exe or be inserted as a ressource.

i have done something else to load the gif picture in a Timage. I'm sorry, but i have found what i want. here is the tip :

i have load the bpg package, and i have all recompiled. Then i have clicked on the Image package and have choiced "install". then, i have began a new application, i dropped the timage component on the form and the Load method from the Tpicture can now load gif files.

Well, it works !

but, as i have had to recompile and re-install the teehcart package, i wonder if my first installation was right....

Pep
Site Admin
Site Admin
Posts: 3295
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Mon Jan 22, 2007 8:20 am

Hi frank,

ok, I'm glad to know you've found a solution.

>but, as i have had to recompile and re-install the teehcart package, i wonder if my first installation was right....

It should...

Post Reply