Hi
I have a form(form A)(vfp8)
the only thing on this form is an animated gif. In the activate event I
call another form(formB) at that point the gif is no longer active. How can
I keep the gif moving while the other form is loading?
Also..what code and where do I put it to close form A.(it stays running
under form B.(it is also moving again.)

Thanks
Sherry

Re: animated gif by Paul

Paul
Tue Jul 08 15:36:56 CDT 2008

If the animated gif is being hosted by an ocx control I would try using
doevents in locations where form B might be running code while loading. That
should give the ocx control a chance to run. (google fastdoevents)
Depending on what your animated gif shows you might be better off with
wait window 'loading form' nowait (in form A)
and then
Wait clear (in the .activate() code of form B)

To release form A from within form A use thisform.release. To release form A
from form B you could use the _screen.forms collection and test the comment
property of each form for a particular character pattern.

"sherry" <sherry@discussions.microsoft.com> wrote in message
news:FB9915C7-D70C-4119-93AA-D4E43FE3268F@microsoft.com...
> Hi
> I have a form(form A)(vfp8)
> the only thing on this form is an animated gif. In the activate event I
> call another form(formB) at that point the gif is no longer active. How
> can
> I keep the gif moving while the other form is loading?
> Also..what code and where do I put it to close form A.(it stays running
> under form B.(it is also moving again.)
>
> Thanks
> Sherry