You may want to use an ActiveX animation control like the Microsoft Animation control - I think that Andrew Ross MacNeill had an article in FPA 8 months ago.
It might not show progress, but it animates no matter what because it has its own thread - like the windows explorer when you are copying files and you see the animation of a piece of paper flying between two folders.
>>>>>I am displaying a thermometer, in a non modal form, during various operations. Sometimes the thermometer stops completely, like when I am locating files on a remote LAN. I assume this is happening because the thermometer is not getting any execution time. Is there anything I can do, so that it ticks some of the time. Thanks.
>>>>
>>>>If you want to force an update, you probably need to do something like oThermometer.refresh() from your code.
>>>>
>>>>
>>>>Wayne
>>>
>>>My code does not have control at the time. As soon as I get control back, I can update it again. What I don't like, are the long periods when the thermometer is frozen, while the system is doing something else. I've been assuming I just have to live with it, but was hoping someone might have a better idea.
>>
>>No, you are pretty much stuck with the way it is because VFP is not multi-threaded. But, you can do some things in code during large processes to ensure an update. If you are appending files from say a flat file, you could append the data in chunks and update your progress bar at specified intervals.
>>
>>HTH
>>Wayne
>
>Hi Wayne,
> I do that when I can. It's during the execution of commands like 'COPY' accross a network, or 'FILE' over a remote connection, that I would like the thermometer to tick. Thanks.