clone object in a group

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

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
adventuresofgreg
Posts: 349
Joined: Tue Oct 28, 2008 1:23 am
Contact:

clone object in a group

Post by adventuresofgreg » Sun Sep 30, 2012 5:34 pm

Hi: I would like to clone a button that is part of a group, but I do NOT want the cloned button to be in the group it was originally cloned from. Any ideas on how to accomplish this?

Thanks,
Greg

Klaus
Posts: 14213
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: clone object in a group

Post by Klaus » Sun Sep 30, 2012 5:40 pm

Hi Greg,

don't clone, just copy:
...
copy btn 1 of grp 1 to this cd
...
:D


Best

Klaus

adventuresofgreg
Posts: 349
Joined: Tue Oct 28, 2008 1:23 am
Contact:

Re: clone object in a group

Post by adventuresofgreg » Sun Sep 30, 2012 6:41 pm

Perfect!

Post Reply