You can not delete a control whose script is still running. Try in the button:
on mouseUp local tID put the long I'd of this card into tID send "deleteMe tID" to me in 1 milliseconds end mouseUp Then put the deleteMe handler in the stack. - e > On Dec 31, 2014, at 07:36, "stgoldb...@aol.com" <stgoldb...@aol.com> wrote: > > If I want to delete a card using the message box in LC 5.5.3 (on Mac 10.9.5) > it works if I type > > > delete this card > > > in the message box. However, I get an error message if I try the same thing > from a button on the card or from a script in the stack. This didn't used to > be the case. Any suggestions? > Thanks! > Happy New Year, > Stephen Goldberg > stgoldb...@aol.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 _______________________________________________ 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