ResizeStack message
BNig
bernd.niggemann at uni-wh.de
Sun May 25 09:44:08 EDT 2014
Hi Terence,
try this, there may be other (better) ways to do this, I do it in variations
of this code.
put this code into the card script (or wherever) resize your stack and watch
a field "fRes" you put
on the current card for testing purposes
----------------------
on resizeStack
-- do your normal resizeStack stuff here
-- take "doAfterResize" out of the pending messages
-- only the last "doAfterResize" message will not get cancelled
repeat for each line aLIne in the pendingMessages
if aLine contains "doAfterResize" then cancel item 1 of aLine
end repeat
send doAfterResize to me in 10 milliseconds
end resizeStack
on doAfterResize
put "resizing done" && the milliseconds into field "fRes"
end doAfterResize
---------------------------
Kind regards
Bernd
--
View this message in context: http://runtime-revolution.278305.n4.nabble.com/ResizeStack-message-tp4679967p4679969.html
Sent from the Revolution - User mailing list archive at Nabble.com.
More information about the use-livecode
mailing list