Hi Mark. Thank you for your solution :
put the pendingmessages into myMsgs filter myMsgs with "*checkForAltKey*" repeat for each line myMsg in myMsgs cancel item 1 of myMsg end repeat I also added your code to the bottom of the closeStack handler so when I quit the Dictionary the last "checkForAltKey" message is also removed . And thanks to everyone who replied. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Dictionary-generating-a-lot-of-messages-1-pr-click-tp4648937p4649070.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