Changiing the height of a stack
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?
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
> 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.
> 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:
More information about the Use-livecode