PBDR.COM

About   -   Contact   -   Purchase   -   Search   -   What's New

 
 
Displaying Animated GIF's
PowerBuilder 7 is supposed to be capable of Displaying Animated GIF's but until it is available or if you are using an older version of PowerBuilder there is a way to do similar animation.

Basically an animated GIF is a series of images displayed in a repeating loop that give the effect of animation. The same effect can be achieved in PowerBuilder using the Picture control and the Draw function. The problem is that the picture control can only display bitmap images.

When I want to use animated GIF's in PowerBuilder I open the GIF in an animated GIF tool and save each frame of the GIF as a separate Bitmap file. I normally reduce the colour palette to 32 colours to save space and also make sure that all the bitmaps share a common colour palette.

Then using my generic user object described in another article I have an animated GIF equivalent.

 

Top of Page

Legal Notice

Ken Howe 2011