Unlink shared groups

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
seaniepie
Posts: 154
Joined: Wed Sep 07, 2011 10:56 am

Unlink shared groups

Post by seaniepie » Wed Oct 31, 2012 1:19 pm

Hi all,

Heres a conundrum. I've been using some groups as Shared groups across various cards. On a series of cards I want a similar layout but with a few minor alterations. Now, I know I can remove the group from the page, perhaps copy pasting the group back into place but is there an easier way to just unlink it from the source and make it an independent group?

Thanks

Pi

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10356
Joined: Wed May 06, 2009 2:28 pm

Re: Unlink shared groups

Post by dunbarx » Thu Nov 01, 2012 4:04 am

Well, you can make a group and place it on all the cards you need to by hand, without ever setting its backgroundBehavior to "true". In that way you can clone it onto other cards and make changes to it.

And you can make a copy of a shared group on a particular card and use "edit group" to modify it, but that still leaves the original intact. Would you then hide that original group on those cards you want only the modified version?

But I believe that if you are dealing with a shared group that has its backGround behavior set, you cannot change any of those properties without undoing them all on all cards they reside on. So I do not think you can isolate a shared group on a particular card and change it.

I could be wrong.

Craig Newman

Post Reply