Progress bar

jhonken jhonken at webdsp.com
Thu Dec 7 16:04:02 EST 2006


Mark,

 That did the trick. Thanks

-----Original Message-----
From: Mark Schonewille [mailto:m.schonewille at economy-x-talk.com] 
Sent: Thursday, December 07, 2006 4:01 PM
To: How to use Revolution
Subject: Re: Progress bar


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
use-revolution at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution





More information about the Use-livecode mailing list