Hi,
I've created a clone of a group (A) at runtime and would like to add it to another group (B) via code.
I cannot see a way of setting the owner (read-only property) or the parent or whatever of (A) to the existing (B) group.
Is there a way of doing this?
Thanks.
Dave
How to add a group to another group in code
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- Livecode Opensource Backer
- Posts: 328
- Joined: Mon Dec 05, 2011 5:34 pm
- Contact:
How to add a group to another group in code
Coding in the Sun - So much Fun.
Visit http://electronic-apps.info for released App information.
Visit http://electronic-apps.info for released App information.
Re: How to add a group to another group in code
try "copy group "yourgroup" to group "destinationgroup"
-
- Livecode Opensource Backer
- Posts: 328
- Joined: Mon Dec 05, 2011 5:34 pm
- Contact:
Re: How to add a group to another group in code
Hi Sturgis,
Thanks for that - much better than cloning and trying to move it
Simply copy directly to the group - perfect(ish!)
Now on to the next fun bit
Thanks for that - much better than cloning and trying to move it

Now on to the next fun bit

Coding in the Sun - So much Fun.
Visit http://electronic-apps.info for released App information.
Visit http://electronic-apps.info for released App information.