Deleting cards from within themselves.
BNig
bernd.niggemann at uni-wh.de
Mon Feb 16 16:00:52 EST 2015
Hi Peter,
the point is that in a button on a card
-----------
on mouseUp
put the long id of this card into tLID
send "delete tLID" to this stack in 0 milliseconds
end mouseUp
------------
you don't need any handler anywhere. Just tested on LC 5.5, it works :)
@ Dixie,
I don't claim I found this, actually I may have read it somewhere or
stumbled upon it when fooling with the evaluation of the the quotes in a
send in time message?. No idea.
Kind regards
Bernd
--
View this message in context: http://runtime-revolution.278305.n4.nabble.com/Deleting-cards-from-within-themselves-tp4688894p4688912.html
Sent from the Revolution - User mailing list archive at Nabble.com.
More information about the use-livecode
mailing list