horizontal and vertical scrolling

Timothy Miller gandalf at doctorTimothyMiller.com
Thu Jun 16 17:47:41 EDT 2011


From the documentation:

> The vScroll of a field, group, or stack is a non-negative integer.
> 
> By default, the vScroll property of newly created objects is set to zero.
> 
> For stacks, the vScroll property is read-only and cannot be set.

This might have changed -- not sure when. I dimly recall setting the scroll or the vScroll of the stack once, perhaps a long time ago, and I think it had x and y coordinates.

Tim


On Jun 16, 2011, at 2:03 PM, Björnke von Gierke wrote:

> can you show how to set the scroll of a stack, and make objects move about by that?
> 
> because I tried and it didn't work with:
> set the scroll of this stack to 200
> set the scroll of this stack to -20
> set the vscroll of this stack to 200
> set the hscroll of this stack to 200
> 
> getting works tho, as per the dictionary for menubars being fucked up reasons:
> put the scroll of this stack
> 
> On 16 Jun 2011, at 21:05, J. Landman Gay wrote:
> 
>> On 6/16/11 8:31 AM, Richard Gaskin wrote:
>>> When I try these:
>>> 
>>> put the scroll of this cd
>>> set the scroll of this cd to 100
>>> 
>>> ...I get "object does not have that property" and "can't set that
>>> property", respectively.
>> 
>> Oops. I misspoke, sorry. Stacks have a scroll property, and that's what needs to be set. Like I said, it was a long, long time ago when I was playing with it.
>> 
>> -- 
>> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
>> HyperActive Software           |     http://www.hyperactivesw.com
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the Use-livecode mailing list