Patience form with animated GIF


I need to create a form with an animated GIF. This form will be used to do take patience for the user when a long operation perform. So, when I launch a long calculation operation, I need to show the form, do calc, and finally hide form. But, when calculation (or other operation) is done, I get only the form background. The GIF doesn't appear. Even with refresh, update, etc ... it doesn't work. Is there a solution to my problem?
Perhaps with Thread?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

if you want to send me a demo of whats not working(i dont fully understand from the question) and i will take a helps more to see some code.

hi Alphomega,

did you tried to put this line


sometimes in your calculation code?


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
I would use AVI instead of gif and use
Delphi's component to show the avi.

It's easy to convert gif to avi.
Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

AlphomegaAuthor Commented:
I have tried processmessages but it doesn't work better. That's seem evident to do that. I don't understand.

inthe: I send you the form and a little project.

King David: I'm afraid that it's the problem.
AlphomegaAuthor Commented:
I have placed application.processmessages in bad place.

All work well.

Thanks a lot!
hi  Alphomega,

was absent for
some hours,
glad thats now working
thanks for accepting my comment
good luck again

meikl ;-)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.