Animated Gifs driving me crazy !

Paul_B

Registered User.
Local time
Tomorrow, 01:23
Joined
Mar 5, 2002
Messages
19
I'm having two problems getting animated gifs to work:

1. The code runs too fast.... On opening a form I have the gifs property set to not visible, then I want it to become visible while the database copies several large files from the server (takes anything up to 1 minute).

Problem is the code runs too fast for gif to start up and only appears once all the code is run. I tried running a 'sleep timer' after the gif is set to visible - This stops everything from running including starting the animated gif.

The only time it works is if i have a message box appear - which isn't my ideal solution.

2. On deciding I could live with the message box solution the gif now only works one. The second time it appears there's no animation just the image. I have the close the form and start everything over again for the animation to work.

(Note: if the gif is set to visible the entire time the form is open it works all the time even if the fom loses focus etc. The only time if stops working is after making it visible on the second occasion.)



i just had a thought while reading over this post... maybe i should I should just hide the gif with a label, not perfect but it might work.
Anyone know another way around this problem?
 

Users who are viewing this thread

Back
Top Bottom