When an error occur, I ask the user "The file “name” has not been
copied (error: "+File.LastErrorCode+"). What do you want to do?". He
can choose "Retry", "Skip" or "Stop".
If the destination file exists (I check before copying), I ask "The
file “name” already exists.". The choices are "Replace", "Don't
replace" and "Stop". I added a checkbox for "Apply to all" (well, the
"dialog" is in the main window, at its bottom). In my opinion, the
fact that the user chose "Replace", "Don't replace" or saw that an
error occurred allows the progress bar to count that file.
Thank you for your answer.
Le 2 janv. 07 à 02:39 Matin, William Squires a écrit:
I'd count them only after a successful copy attempt (if an error
occurs, a dialog should occur, and the process should probably
quit, as there's likely a file system problem that needs to be
rectified (by the user) ; exception: a file-sharing error.)
Otherwise your progressbar could get out of sync; though this
would be what I consider a 'cosmetic bug'; nothing earth-shakingly
fatal!
On Jan 1, 2007, at 5:44 PM, Arnaud Nicolet wrote:
Hello,
In a window, I put 2 progress bars. The first one says "Files
remaining to be copied:" and the second one says "Copy progress:".
When a file is being copied, the second progress bar shows how
many bytes have already been copied. Then, the first progress bar
is incremented by one.
My question: is my first progress bar supposed to count the actual
file or is it supposed to only count files when they have been
completely copied?
Happy new year to everyone.
_______________________________________________
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>