On Nov 27, 2006, at 9:55 PM, Jan Sælid wrote:

Trevor DeVore wrote:

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

It seems that this solution creates the correct thumbsize. The other makes
it smaller than it needs to be.

I think it is actually opposite. Tereza's code seems to make the thumbsize larger than the code I posted above and seems to be the right solution.

--
Trevor DeVore
Blue Mango Learning Systems - www.bluemangolearning.com
[EMAIL PROTECTED]


_______________________________________________
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