Hi Pete: If I understand what you're saying, you can't have a card that's a different size than the stack it resides in. Whenever you size a stack, you size the cards within it. The card's topLeft is always 0,0. You can't lock the position of a card or stack (aside from Jacque's suggestion to remove the stack's title bar), which is why the checkbox is greyed out. The checkbox is present because you CAN lock the position of an object on a card -- as soon as you select an object, the checkbox becomes enabled.
The rect property mentioned earlier in this thread is the way to resize things quickly and in whatever direction you want. Hope this helps. Regards, Scott Rossi Creative Director Tactile Media, UX Design On Jan 21, 2011, at 4:57 PM, "Pete (Molly's Revenge)" <[email protected]> wrote: > So why is the checkbox even there? And, with respect, there is something to > lock - the top left of the card when you change its height via script, > that's all I want to use it for. > Pete > > On Fri, Jan 21, 2011 at 2:42 PM, J. Landman Gay > <[email protected]>wrote: > >> On 1/21/11 4:22 PM, Peter Haworth wrote: >> >>> Thanks Scott and Klaus, that works for me. Anyone know why the card >>> property inspector lockloc check box for the card is greyed out? >>> >> >> Because it doesn't apply. Lockloc only applies to objects that change size >> automatically when redrawn (like images) or which can be moved by the mouse. >> In those cases you lock them so that they either won't resize, or so you >> won't accidentally move them around. You can't drag cards around inside the >> stack window, and their dimensions never change unless you specifically do >> it, so there is nothing to lock. >> >> Stacks don't have a lockloc property either. You can always drag them by >> their titlebar if it's showing, and their dimensions are fixed and never >> change automatically. Instead, we have the resizeable property to prevent >> user resizing, and we can hide the titlebar to prevent dragging. >> >> -- >> Jacqueline Landman Gay | [email protected] >> HyperActive Software | http://www.hyperactivesw.com >> >> >> _______________________________________________ >> use-livecode mailing list >> [email protected] >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > > > -- > Pete > Molly's Revenge <http://www.mollysrevenge.com> > _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
