Re: Component for showing animated GIFs or AVI



Günter Kieninger wrote:

In article <4863a151$1@xxxxxxxxxxxxxxxxxxxxxx>, Yannis wrote:
I think there are ways to full the end user to beleive that what he
is seeing is a trasparent animation but you will not find any VCL
that can play an animation outside the main thread.

All I wanted is that while a query is running and the system looks
dead, the user can see a animation. A small test showed me that
TAnimate is doing fine, but it is not transparent so it don't look
good. TImage with gifimage is looking very good, but stops the
animation when something is stopping the message-queue.

I don't want to use TImage with TGifImage, when there are better
Solutions around. TjvGifAnimator is also doing well, but it is
flickering very hard - so it is also not the perfect solution.

Thank you.

Gruß aus den Bergen
Günter

In your position I would think of doing one of the following.

1) run the open query in a thread, have a loop in the main application
to wait until the thread is finished and then bound the dataset
object to the controls.

2) use async fetch and let the user interface be responsive until you
receive the end of data event.

After looking around for a few minutes yesterday and reading through
how the TGifImage have reached it current form, I found out that you
need to download an older version of the component not the latest one
which can do what you want from http://www.tolderlund.eu/delphi/ Make
sure to put the goAsync in the draw options.

Please keep in mind that I do not know how safe this is.

regards
Yannis.
--

.