Even more woes using this simple script: on resizeStack newWidth,newHeight,oldWidth,oldHeight put "newWidth = " & newWidth & "," & "newHeight = " & newHeight & "," & "oldWidth = " & oldWidth & "," & "oldHeight = " & oldHeight end resizeStack
Zoom window (enlarge): newWidth = 1680,newHeight = 1024,oldWidth = 1541,oldHeight = 954 Zoom window (contract): newWidth = 1080,newHeight = 722,oldWidth = 1082,oldHeight = 723 Zoom window again (enlarge): newWidth = 1680,newHeight = 1024,oldWidth = 1672,oldHeight = 1021 Zoom window again (contract): newWidth = 1080,newHeight = 722,oldWidth = 1082,oldHeight = 723 Switch to another card, zoom window then switch back to original card Zoom window (enlarge) newWidth = 1680,newHeight = 1002,oldWidth = ,oldHeight = (where have the sizes gone)? Now on the original card Zoom window again (contract): newWidth = 1080,newHeight = 722,oldWidth = 1123,oldHeight = 744 The sizes are all over the place, can someone please explain why? All the best Terry _______________________________________________ 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