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: Klaus, FourthWorld, heatherlaine, kevinmiller

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

create group as usercontrol

Post by emmefisch »

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: 14325
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: create group as usercontrol

Post by Klaus »

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 »

Grüezi Klaus

Thank you - oh Mann - I was so near!

Best
Fredi
Klaus
Posts: 14325
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: create group as usercontrol

Post by Klaus »

:)
Post Reply