Centering an object in a window

Dan Shafer dan at shafermedia.com
Mon Aug 11 23:22:00 EDT 2003


Barry Levine offered a method for centering an object on the screen.

Taking a page from one of the recipes in the Transcript Cookbook:

set the loc of me to the screenLoc

should do the job.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dan Shafer, Revolutionary
Author of forthcoming 3-book set,
"Revolution: Programming at the Speed of Thought"
http://www.revolutionpros.com for More Info




More information about the use-livecode mailing list