How can I delete an object when clicked?
bvlahos at mac.com
Sat Jul 24 17:03:47 CDT 2010
As Richard Gaskin would say, "Works a treat."
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:
>> This script doesn't do anything.
>> 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)
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the use-livecode