Re: Suicide

2016-08-29 Thread Sri
http://forums.livecode.com/viewtopic.php?f=7&t=25742&p=133791&hilit=harakiri#p133783 Regards, Sri -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Suicide-tp4707891p4707941.html Sent from the Revolution - User mailing list archive a

Re: Suicide

2016-08-27 Thread Richmond
Thanks for the suggestions everyone; not quite as simple as that: on mouseUp put the short id of this card into KARD put the name of this stack into STAQ put the long id of me into DIMENA send ("delete DIMENA") to card id KARD of stack STAQ in 0 ticks end mouseUp that wor

Re: Suicide

2016-08-27 Thread Mark Schonewille
w. > > on mouseUp > put the long id of me into tTarget > send "delete tTarget" to me in 0 ticks > end mouseUp > > So I guess you have to use "Assisted Suicide" since you need to send a > message to the engine to delete the object after it's script i

Re: Suicide

2016-08-27 Thread panagiotis merakos
f me into tTarget > send "delete tTarget" to me in 0 ticks > end mouseUp > > So I guess you have to use "Assisted Suicide" since you need to send a > message to the engine to delete the object after it's script is done. > >

Re: Suicide

2016-08-27 Thread Paul Dupuis
there is a warning: "Important! You cannot delete the object whose script holds a currently executing handler." but no explaination of the typical work-around below. on mouseUp put the long id of me into tTarget send "delete tTarget" to me in 0 ticks end mouseUp So I guess you h

Suicide

2016-08-27 Thread Richmond
How can one do what I want to do with this script (which does not work)? on mouseUp delete me end mouseUp and does that constitute suicide, assisted suicide or euthanasia? Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com