Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] How to do a progress bar?

From: cybarite:sympatico:ca at: 3-Sep-2001 8:51

[REBOL] How to do a progress bar? Bob, I don't know about the documentation you ask about. I had some of the same concerns on documentation so have put some notes that I have collected in an easyvid format. See rebsite cybarite/VID Usage then on the navigation side, scroll down to the "Progress Indicator" example. That example shows how a slider and a progress indicator and a text field work together. Having said that I think a progress indicator only makes sense if you know the progress i.e. the time for each step. If the files are all the same size, then a progress indicator would give a reasonable visual indicator. But when the work effort is arbitrarily chunked as it can be with various file sizes, a progress indicator will usually be mis-leading. The way to deal with this would be to get all of the file sizes then estimate that each file will download in relation to its file size. After doing this, a progress indicator might give a good hint of progress. If unpredicatable load is the case, then a simplier solution might be more informative e.g. display a text message that says Downloading file i of n This does not have to be to the console transcript but could be in a View display.