>>>Simply that. Due to the processing that is going on, the animated gif looks jerky, stopping and starting. Is there any way to have it run smooth while Foxpro is working?
>>
>>By "the processing that is going on", do you mean other processing in your VFP app (or other processing within your control), or other processing you have no control over?
>>
>>If it's within your own VFP app, you could put calls to DOEVENTS at strategic locations in your long-running code. For best results you could put it in the tightest loop(s) you can find and/or in code that is called frequently. If this addresses your particular issue, the more frequently DOEVENTS is called, the smoother your animation will be.
>>
>>If the issue is with long-running SELECTs or other SQL engine commands, check message#
1153094>
>I tried that, but it didn't make any difference. There are a fair amount of loops, etc, though I think most of the time is spent making calls out to a webservice. There may be no way of making the gif work smoother with that.
If the webservice calls are currently synchronous, is it possible to make them asynchronous, and periodically poll the service to see if it's complete? Pseudocode:
=StartAsyncWebServiceCall( parameters ... )
DO WHILE NOT AsyncWebServiceCallComplete( )
DOEVENTS
SleepAPICall( 15 milliseconds )
ENDDO
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up