I use that widget all the time. Invaluable... On 15 March 2012 11:40, Bob Sneidar <b...@twft.com> wrote:
> Scott Rossi made a widget called tmAlign. Very handy. Yes you can do this > with a script, like set the topleft of object1 to the topleft of object2 or > set the top of object1 to the top of object2. Center alignments get > trickier as you have to use items of the loc. set item 1 of the loc of > object1 to item 1 of the loc of object2 might work if you can reference an > item when you are setting something. Otherwise you will have to get the loc > of object1 first, put item 1 of the loc of object2 into item one of it, > then set the loc of object1 to it. > > Bob > > > On Mar 15, 2012, at 10:00 AM, Devin Asay wrote: > > > Hi all, > > > > The alignment pane in the property inspector allows us to do size, align > and distribute selected controls in relation to each other. Does anyone > know if this functionality can be accessed by scripting? Obviously I can > figure it out and write my own handler, but can I just call the existing > routines? Anybody know? > > > > Devin > > > > > > Devin Asay > > Humanities Technology and Research Support Center > > Brigham Young University > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode@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@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb <http://www.google.com/profiles/sbarncar> _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode