[Lazarus] IDE UI consolidation (was: Re: lfm as pascal)

Graeme Geldenhuys graemeg.lists at gmail.com
Thu May 7 00:23:55 CEST 2009

2009/5/6 H├ęctor Fiandor Rosario <hfiandor at 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.


  I don't think TImage supports animated gifs directly.

  - Graeme -

fpGUI - a cross-platform Free Pascal GUI toolkit

More information about the Lazarus mailing list