Another question im afraid - sorry!
I have an existing group, Id like to create some more rectangles using code (easy enough), but then put the rectangles in an existing group.
The code im using to create the rectangles is...
set the style of the templategraphic to rectangle
set the name of the templategraphic to "test"
set the left of the templategraphic to 0
create graphic
What would I need to add to make the new rectangle be part of an existing group called 'grpBack', or is it just best to kill the old group and recreate it with the group command?
Thanks
Andy
Adding items to a group using code
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Hi Andy,
you are almost there:

Best
Klaus
you are almost there:
Code: Select all
...
set the left of the templategraphic to 0
create graphic in grp "name of grp here"
...

Best
Klaus