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.

_______________________________________________
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

Reply via email to