Deleting a graphic
Dar Scott
dsc at swcp.com
Fri Apr 23 18:25:21 EDT 2004
On Friday, April 23, 2004, at 04:12 PM, Beat Cornaz wrote:
> i want to create(cmd click) and delete (ctrl click) graphic objects.
> The problem is with deleteing. I cannot delete a object that holds the
> deleteing script. I don't know how to get the name of the object to
> delete in a card scrip without repeating to a lotta locations (of all
> the existing objects).I'm surev there's a cleaner way to do this. I
> want to delete a little oval by holding the ctrl key and clicking on
> the object to delete.
In the card (or stack) script, check 'the target'. You can delete with
that. Check the first word of its name and then its style to make sure
it is an oval.
Dar Scott
More information about the use-livecode
mailing list