create group as usercontrol

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
emmefisch
Posts: 27
Joined: Thu Jul 23, 2009 2:50 am

create group as usercontrol

Post by emmefisch » Tue Dec 28, 2010 6:00 pm

Hi there
I like to cloning a group several times as a new object with

create group "mygroup" "newgroup"

it does function, but I cannot see the new group, also when I change location. Can you help?

create group "myobject" "newobject"
set the location of it to 84,294
set the visible of it to true

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

Re: create group as usercontrol

Post by Klaus » Tue Dec 28, 2010 6:41 pm

Grüezi emmefisch,

maybe you should use the "clone" command (see dictionary) instead? 8)

"create group xyz" will indeed create a new and empty group with zero width and height!


Best

Klaus

emmefisch
Posts: 27
Joined: Thu Jul 23, 2009 2:50 am

Re: create group as usercontrol

Post by emmefisch » Tue Dec 28, 2010 8:19 pm

Grüezi Klaus

Thank you - oh Mann - I was so near!

Best
Fredi

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

Re: create group as usercontrol

Post by Klaus » Wed Dec 29, 2010 12:52 pm

:)

Post Reply