Page 1 of 1

GIFImage unit

Posted: Thu Jan 18, 2007 8:28 am
by 9348831
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

Posted: Thu Jan 18, 2007 9:48 am
by narcis
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.

Posted: Thu Jan 18, 2007 10:19 am
by 9348831
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....

Posted: Mon Jan 22, 2007 8:20 am
by Pep
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...