Stupid Programming Challenge
Trevor DeVore
lists at mangomultimedia.com
Tue Nov 28 00:27:21 EST 2006
Scott,
What about this:
ON initScrollbar
set the thumbposition of sb "scroller" to 0
set thumbsize of sb "scroller" to 100 * (height of group
"master" / formattedheight of group "master")
put formattedheight of group "master" - the height of grp
"master" into theEndValue
IF theEndValue > 0 THEN add the thumbsize of sb "scroller" to
theEndValue
ELSE put 0 into theEndValue
set endvalue of sb "scroller" to theEndValue
END initScrollbar
--
Trevor DeVore
Blue Mango Learning Systems - www.bluemangolearning.com
trevor at bluemangolearning.com
More information about the use-livecode
mailing list