> J. Landman Gay wrote > I need to set the scalefactor of a stack and position it at the screenloc.
on mouseUp local tScaleFactor, tScreenLoc, tNewStackLoc put the scaleFactor of this stack into tScaleFactor put the screenLoc into tScreenLoc put item 1 of tScreenLoc / tScaleFactor into item 1 of tNewStackLoc put item 2 of tScreenLoc / tScaleFactor into item 2 of tNewStackLoc set the loc of this stack to tNewStackLoc end mouseUp This works for me Kind regards Bernd _______________________________________________ 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