scrollbar problems: Scrolling a blank stack

Jeanne A. E. DeVoto revolution at jaedworks.com
Wed Jul 21 12:37:44 EDT 2004


At 1:25 PM +0100 7/21/2004, Bob Hartley wrote:
>I've read the docs and see that to have a window of say 1100x750 
>scroll to allow an area of 1100x2000 you group objects.
>
>Now I have a problem with this. I need to have a window (1100x750 
>with menus) that has scrollbars V+H.
>  If the window is resized to say 700x500 by dragging the corner, the 
>edges of the scrollbars dissapear. If it is made bigger then there 
>are gaps at the bottom

To accomplish this, you need to add a resizeStack handler that 
updates the height and width of the group to fit the new window size. 
Then the group's scrollbars will be at the edges of the window 
regardless of how the user resizes it.
-- 
jeanne a. e. devoto ~ revolution at jaedworks.com
http://www.jaedworks.com


More information about the use-livecode mailing list