A fairly typical way might be, in a repeat loop:

set the endValue of sb "progress" to the number of lines in listToProcess
set the thumbPos of sb "progress" to 0
put 0 into lineCount
repeat for each line L in listToProcess
  doProcessing L
  add 1 to lineCount
  set the thumbPos of sb "progress" to lineCount
end repeat
set the thumbPos of sb "progress" to 0

best,

Mark

On 7 Dec 2006, at 20:48, jhonken wrote:

I've put a Progress bar in my application.  Can someone tell me how to
set the "Current value" of it. It looks like runrev calls it a scrollbar
and I've read about thumbposition but I'm not sure if thats whats used
or not.  It seems not to work when I try setting it.  It errors.  Any
help would be greatly appreciated.
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to