Deleting cards from within themselves.

Klaus major-k klaus at major-k.de
Tue Feb 17 02:26:09 CET 2015


Hi Bernd,

> Am 17.02.2015 um 00:15 schrieb BNig <bernd.niggemann at uni-wh.de>:
> Hi Klaus,
> ...
>>> -----------
>>> 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
> 
> like in 
> http://forums.livecode.com/viewtopic.php?f=7&t=22154&hilit=+delete+button#p114046

Ouch, yes! :-D

But i really knew this before, I promise! 8-)

> ?
> 
> Kind regards
> 
> Bernd

Best

Klaus

--
Klaus Major
http://www.major-k.de
klaus at major-k.de




More information about the use-livecode mailing list