Patience form with animated GIF

Hi,

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?
AlphomegaAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
kretzschmarConnect With a Mentor Commented:
hi Alphomega,

did you tried to put this line

application.processmessages

sometimes in your calculation code?

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

BorgsAssimilate@Aol.Com
0
 
King_DavidCommented:
I would use AVI instead of gif and use
Delphi's component to show the avi.

It's easy to convert gif to avi.
0
Take Control of Web Hosting For Your Clients

As a web developer or IT admin, successfully managing multiple client accounts can be challenging. In this webinar we will look at the tools provided by Media Temple and Plesk to make managing your clients’ hosting easier.

 
AlphomegaAuthor Commented:
kretzschmar
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.
0
 
AlphomegaAuthor Commented:
SHAME ON ME!
I have placed application.processmessages in bad place.

All work well.

Thanks a lot!
0
 
kretzschmarCommented:
hi  Alphomega,

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

meikl ;-)
0
All Courses

From novice to tech pro — start learning today.