sarahr at genesearch.com.au
Tue Aug 20 21:53:01 EDT 2002
Other people have pointed out how to script the position of your
palette using "the loc" i.e. the center of the stack. The other
property which you might find useful is "the topLeft". This is good for
setting the stack's position but it is particularly important if you
resize a stack on the fly because when you resize, it resizes about the
center so it effectively moves the stack.
If you lock the screen, store the topLeft in a variable, resize the
stack and then reset to the original topLeft, it looks like your stack
On Wednesday, August 21, 2002, at 04:17 am, Tony Moller wrote:
> Here's one I can't figure out...
> How do you do math on location coordinates? I would like to set a
> stack -x -y from the location of the main stack, but I can't figure
> out how
> to do the calculation...
> Thanks again!
> Tony Moller - Network Admin
> 6849 Old Dominion Drive - Suite 320
> McLean, VA 22101
> Tel: 703-749-3118 Fax: 703-749-0967
> Pgr: 703-719-5324 <7037195324 at my2way.com>
> use-revolution mailing list
> use-revolution at lists.runrev.com
More information about the Use-livecode