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 at Nabble.com.

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
Don't use "to me" but use the card or the stack that contains the control to be deleted. -- Kind regards, Mark Schonewille Economy-x-Talk Http://economy-x-talk.com Share the clipboard of your computer over a local network with Clipboard Link http://clipboardlink.economy-x-talk.com Op 27 aug.

Re: Suicide

2016-08-27 Thread panagiotis merakos
What is the use case, Richmond? If you want to delete any object on a card by just clicking on it, you can put this on the card script: on mouseup delete the mousecontrol end mouseup and make sure that the objects you want to delete do not have a mouseup handler. On Sat, Aug 27, 2016 at 2:55

Re: Suicide

2016-08-27 Thread Paul Dupuis
On 8/27/2016 7:27 AM, Richmond wrote: > on mouseUp >delete me > end mouseUp The engine can not delete an object whose script is currently executing. This has been a long know issue in LiveCode, but I am not sure it has been documented In the Dictionary for "Delete" there is a warning: "Impor