Here is a simple demo that shows the use of startValue, endValue and thumbPos.

on mouseUp
repeat with x = (the startValue of scrollbar 1) to (the endValue of scrollbar 1) step 200
    set the thumbPos of scrollbar 1 to x
  end repeat
  set the thumbPos of scrollbar 1 to the endValue of scrollbar 1
end mouseUp

This works fine with a default scrollbar, but you probably will want to change the startValue and endValue in the property inspector and might then want to change the size of the steps. You can also entirely remove the steps.

Best,

Mark

--

Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz

Op 7-dec-2006, om 21:48 heeft jhonken het volgende geschreven:

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

Reply via email to