When I use animated GIF in VFP8, I find some abnormal outcomes. If the GIF is a single round GIF, I always find the GIF played twice before it stops. What's wrong and is there any solution?
Slighthaze, thank you very much for your reply.
Actually I already use a very silly (but practical) solution. I just make the GIF longer with a tail of fixed frames. After WAIT a certain time I just replace with a non-animated GIF that contains the last frame. So there is no chance to play twice. Of course, I have to sacrifice system resources. However I wonder why VFP8 works in this strange way. Have I done something wrong? Or there is any new property that can be set (but I don't know that)?
Upto VFP7, in an image, control, if you show an animated GIF image, they will be shown as static at run time.
WHere as, in VFP8, the same will show the animation.
So obviously, that you are showing the picture twice, the animation is coming twice, I belive.
Actually I already use a very silly (but practical) solution. I just make the GIF longer with a tail of fixed frames. After WAIT a certain time I just replace with a non-animated GIF that contains the last frame
I suggest, you show the picture once and observe, the gif animation appearing twice could vanish.
An interesting point is you can see the animation directly at the design stage (while you MODI FORM xxx). Even in the form designer, the gif is already played twice!! So it should not be your suggested reason.
I wonder that actually when the object is activiated, it triggers some method so that the object is refreshed in an unexpected manner. Therefore the gif is played twice. However which method is it? Can I bypass it?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.