Delete this card command not working in LIvecode 5.5.3
Eric Corbett
eric at canelasoftware.com
Wed Dec 31 10:43:54 EST 2014
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, "stgoldberg at aol.com" <stgoldberg at 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
> stgoldberg at aol.com
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list