revCopyFile progress bar
Ken Ray
kray at sonsothunder.com
Tue Nov 15 11:29:53 EST 2005
On 11/15/05 10:15 AM, "Andrew Sharp" <asharp at salesconcepts.com> wrote:
> Hello everyone,
>
> Is it possible to have a progress bar while a file is being copied to
> a server with the revCopyFile command. The files are fairly large and
> take a minute or so to copy. The computer is actually copying the
> file but to the user it appears as if the computer has locked up.
>
> Any help would be greatly appreciated.
Well, without actually modifying the code for revCopyFile, the answer is
"sort of" - that is, you can bring up your own progress bar with a dummy
starting value that just hangs there until revCopyFile is completed, and
then snaps to 100% and closes. But to actually have the progress bar
relative to the progress of the copy itself, that's unfortunately not
possible.
Personally, I'd put up a dialog or palette window with a statement like
"Copying... this may take a minute or two" and set the cursor to watch.
Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com
More information about the use-livecode
mailing list