Scrolling a Card?

Ken Ray kray at sonsothunder.com
Fri Feb 20 00:41:48 EST 2004


> But the problem appears to be that you can't return the 
> scroll values of the group, because it doesn't really move. 
> Only the "content" of the card moves, and there doesn't 
> appear to be a way of retrieving that value.

Actually, you can ask for the scroll (or hScroll or vScroll) of the
group object and get a value. The objects actually do move, so if the
hScroll of the group is 100 pixels, the loc of all the objects inside
the group has moved 100 pixels. So basically when the hScroll is 0 and
the vScroll is 0, all the objects are in their original locations.

I hope this helps,

Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/ 




More information about the use-livecode mailing list