Adding Objects to a group

Richard Gaskin ambassador at fourthworld.com
Mon Apr 18 14:31:09 EDT 2005


David Burgun wrote:
> Hi,
> 
> Thanks, but I am creating the object like so:
> 
> copy graphic "TemplateRect" to this card
> set name of last graphic to "xxxxxxxxx"
> 
> Then I want to add it to the Group.
> 
> I can't see how to do this, is there a way?

You could copy it into the group with:

  put the long id of grc "MyGrc" into tObj
  copy tObj to group "MyGroup"
  delete tObj

But why not simply create the original graphic by copying it directly 
into the group rather than on the card?

--
  Richard Gaskin
  Fourth World Media Corporation
  __________________________________________________
  Rev tools and more: http://www.fourthworld.com/rev


More information about the use-livecode mailing list