Deleting cards from within themselves.
Klaus major-k
klaus at major-k.de
Mon Feb 16 16:46:51 EST 2015
Am 16.02.2015 um 22:00 schrieb BNig <bernd.niggemann at uni-wh.de>:
>
> 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
tLID sounded a bit famiiar to me :-)
<http://forums.livecode.com/viewtopic.php?f=7&t=22780&p=117404&hilit=delete+card#p117406>
Best
Klaus
--
Klaus Major
http://www.major-k.de
klaus at major-k.de
More information about the use-livecode
mailing list