Stupid Programming Challenge

Tereza Snyder tereza at
Mon Nov 27 23:25:13 EST 2006

On Nov 27, 2006, at 9:54 PM, Scott Rossi wrote:

> OK, I've beaten my head against the wall long enough on this, so I'm
> throwing it out there for anyone who wants to try their hand at a  
> simple (?)
> challenge:
> Modify the initScrollbar routine in the following stack such that  
> 1) the
> scrollbar displays proportionally to content displayed in the  
> associated
> group, and 2) the scrollbar consistently scrolls the group to the  
> end of its
> content.  The stack contains a button to randomly populate a scrolling
> group, and the initScrollbar routine is stored in the button.
>   go url ""

I had luck when I changed this line:

set endvalue of sb "scroller" to max(0,(formattedHeight of group  
"master" - height of group "master"))


set endvalue of sb "scroller" to max(0,(formattedHeight of group  

or is there more to the problem?


Tereza Snyder

    Califex Software, Inc.

More information about the Use-livecode mailing list