Detect ResizeStack completion?
Scott Rossi
scott at tactilemedia.com
Mon Oct 28 13:20:01 EST 2002
Recently, "depstein at att.net" wrote:
> on resizeStack w,h
> if the mouse is up then doComplexThings
> -- only happens when user releases mouse at
> -- end of resizing
>
> But this does not work on Windows; and Metacard Help advises never using "the
> mouse" in this way. What is the best alternative?
Check a variable state, not the mouse state.
on mouseDown
set the uAllowResize of this stack to true
end mouseDown
on resizeStack w,h
if the uAllowResize of this stack then doComplexThings
end resizeStack
on mouseUp
set the uAllowResize of this stack to false
end mouseUp
on mouseRelease
mouseUp
end mouseRelease
Regards,
Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-----
E: scott at tactilemedia.com
W: http://www.tactilemedia.com
More information about the metacard
mailing list