Deleting cards from within themselves.
BNig
bernd.niggemann at uni-wh.de
Mon Feb 16 18:15:27 EST 2015
Hi Klaus,
Klaus major-k wrote
> Am 16.02.2015 um 22:00 schrieb BNig <
> bernd.niggemann@
> >:
>>
>> 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
like in
http://forums.livecode.com/viewtopic.php?f=7&t=22154&hilit=+delete+button#p114046
?
Kind regards
Bernd
--
View this message in context: http://runtime-revolution.278305.n4.nabble.com/Deleting-cards-from-within-themselves-tp4688894p4688926.html
Sent from the Revolution - User mailing list archive at Nabble.com.
More information about the use-livecode
mailing list