Changiing the height of a stack

Peter Haworth pete at mollysrevenge.com
Fri Jan 21 17:22:34 EST 2011


Thanks Scott and Klaus, that works for me.  Anyone know why the card property inspector lockloc check box for the card is greyed out?

Pete Haworth

On Jan 21, 2011, at 2:13 PM, Scott Rossi wrote:

> Recently, Peter Haworth wrote:
> 
>> I want to change the height of a stack.  No problem changing the height
>> property but that causes both the top and the bottom of the stack to change
>> positions and I want the top of the stack to stay where it is and all the
>> height change to be added to the bottom.  The dictionary says the locklocation
>> property does that but then I find that isn't available for a stack.   I see a
>> locklocation check box in the property inspector for the card, but it's greyed
>> out.
> 
> Via script:
> Put the rect of the stack into a variable, adjust the value of the 4th item
> as needed, set the rect of your stack to the variable.
> 
> Maybe somebody else knows a built-in way.
> 
> Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, UX Design
> 
> 
> 
> _______________________________________________
> 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