2009/5/6 Héctor Fiandor Rosario <hfian...@infomed.sld.cu>: > > I read the documentation mentioned about gif, but really, I dont feel sure > to do that.
That is only meant for creating animated gifs for the wiki page - not for embedding them into your application. > I want to attach the "running leopard" in my applications. Its possible? It sure is. I did something similar for fpGUI Toolkit, but didn't use animated gifs. Instead I use a composite bitmap. Say your animation is 4 frames. A composite bitmap then consists of 4 images next to each other making one wide image. The animation component then reads the single (wide) image, splits the large image into 4 small ones and simply display them one after the other in a loop with 200ms delay (or whatever the developer choses). The animation component can be viewed using the following url. It should be very simple to port or rewrite this for Lazarus LCL. http://fpgui.git.sourceforge.net/git/gitweb.cgi?p=fpgui;a=blob_plain;f=src/gui/fpg_animation.pas;hb=master PS: I don't think TImage supports animated gifs directly. Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ _______________________________________________ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus