Page 1 of 1

Scroll Bar

Posted: Mon Nov 10, 2008 11:48 am
by Bruce Underwood
I have a very long stack containing a large number of short horizontal fields. I placed a vertical scrollbar on the right side of the stack, but I can't get it to scroll the page. What I want is a scroll bar that works just like the ones in the Revolution Dictionary.
The Revolution User's Guide has no information on how to write script to get the scroll bar to function as I want it to.

I will appreciate any help I can get.

Bruce Underwood
bruceu@embarqmail.com

Posted: Mon Nov 10, 2008 1:14 pm
by Mark
Hi Bruce,

Group all fields. Set the lockLoc, vScrollbar and hScrollbar of the new group to true. Set the rect of your group to the rect of your card. Make sure that the rect of the group is updated whenever you change the size of your stack window. Now you should be able to scroll the fields.

Best,

Mark