On 7 Mar 2006, at 03:11, Joseph J. Strout wrote:


No, it operates in whatever thread you call it from. However, it does not yield during the copy.

But that shouldn't matter too much for your application -- it means that the progress wheel may only update between files, but that should still be often enough for the user to see that it's working. A progress bar might be even better.

I went with a ProgressWheel for this one, as all I want is some indication to the user that at least something is happening;
I ended up ceating a method that calls:

Sub ShowProgressWhell
(
        ProgressWheel1.Visible = True
        ProgressWheel1.Refresh
)
End Sub

This gets called every couple of rows in the thread, to keep the ProgressWheel up on the screen; otherwise it vanishes so quickly you cannot really see if, as I originally put it only once at the start of the CopyFileTo,
then at the end I set the visibility to False;

Mark
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to