How can I delete an object when clicked?
Bill Vlahos
bvlahos at mac.com
Sat Jul 24 18:03:47 EDT 2010
As Richard Gaskin would say, "Works a treat."
Thanks.
Bill Vlahos
_________________
InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure.
On Jul 24, 2010, at 2:51 PM, zryip theSlug wrote:
> On Sat, Jul 24, 2010 at 11:38 PM, Bill Vlahos <bvlahos at mac.com> wrote:
>> Phil,
>>
>> This script doesn't do anything.
>>
>> Bill
>>
>> On Jul 24, 2010, at 1:11 PM, Phil Davis wrote:
>>
>>> Hi Bill,
>>> Try this:
>>>
>>> on mouseUp
>>> send ("delete" && the long name of me) to this card in 0 secs
>>> end mouseUp
>
> Hi Bill,
>
> In the script of your cd, add a handler to manage the deletion
>
> command deleteMe pTheTarget
> delete pTheTarget
> end deleteMe
>
> and in the script of the btn execute:
>
> on mouseUp
> send "deleteMe the target" to this cd in 0 millisecs
> end mouseUp
>
> --
> -Zryip TheSlug- wish you the best! 8)
> http://www.aslugontheroad.co.cc
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list