Progress bar
AndyP
smudge.andy at googlemail.com
Tue Jan 18 08:26:43 EST 2011
Hi steve,
You could do someting like this:
sb1 is the name of the scrollbar
This is in the script of Check1 (check box 1)
For ease, lets assume you have 10 check boxes.
//Initially set the start and end points for the scrollbar sb1
set the startValue of scrollbar "sb1" to 0
set the endValue of scrollbar "sb1" to 100
//In the checkboxes
on mouseUp
if the hilite of btn "Check1" is true then
set the thumbPos of scrollbar "sb1" to the thumbpos of scrollbar "sb1"
+10
else
set the thumbPos of scrollbar "sb1" to the thumbpos of scrollbar "sb1"
-10
end if
end mouseUp
It would be more efficient to use a function for this but this will get you
running.
-----
Andy Piddock
My software never has bugs. It just develops random features.
--
View this message in context: http://runtime-revolution.278305.n4.nabble.com/Progress-bar-tp3221250p3221325.html
Sent from the Revolution - User mailing list archive at Nabble.com.
More information about the use-livecode
mailing list