Page 1 of 1
Simple Scroll Example
Posted: Tue Nov 18, 2008 10:44 pm
by pspringer57
I am having trouble finding a simple example of scrolling a group of objects, either with the "built-in" group scroll bar, or a separate scroll bar object. I have searched the documentation and the forum. The documentation is not not helping me much, and the forum posts address more esoteric scrolling problems. Can someone point out an example or description of basic scrolling?
Thanks,
-Paul
Posted: Tue Nov 18, 2008 11:22 pm
by malte
What exactly would you like to know?
Cheers,
Malte
Posted: Tue Nov 18, 2008 11:37 pm
by Mark
Hi Paul,
Create a few objects and group them. Set the rect of the group to the rect of the card and set the lockLoc of the group to true. Set the vScrollbar and hScrollbar of the group to true too.
Now you can select the objects and move them downwards, off the card. The group will get active scrollbars. You can put more objects above the old objects and when you're done you can scroll the objects.
Simple enough?
Mark
Posted: Wed Nov 19, 2008 5:48 pm
by pspringer57
Thanks very much Mark, that did it for me.
-Paul