Hi Rob,
just add an exit to top:
on resizeStack newWidth,newHeight,oldWidth,oldHeight
beep
lock screen
put abs(newWidth-oldWidth) into widthDifference
put abs(newHeight-oldHeight) into heightDifference
lock messages
if widthDifference = heightDifference then set the height of this
Hi Rob,
most routines I use to resize stack windows rely on the
stack's rect instead of the width or height of the window.
Since resizing the width/height displaces the topleft point
of the window, you have to be careful that you don't jitter
the windowborder you are grabing and the mouseloc...
Hi Rob,
2 thoughts:
1. The screen is locked while a resizeStack handler is running, so it
is not necessary to use the lock screen command to prevent changes
from being seen. (However, the lockScreen property is not set to true.)
2. Xavier is right: working with the rect would be better to