Group inside 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
simon.schvartzman
Posts: 672
Joined: Tue Jul 29, 2014 12:52 am

Group inside a group

Post by simon.schvartzman »

Hi all...I would like to have a group (let's call it G1) of controls inside a larger group (G2) such that when I move G2, G1 will be also moved along.

Is this possible? I've tried but the IDE doesn't allow me to do it. Is there any trick I should be using?

Many thanks for any hints...

Regards
Simon
________________________________________
To "AI", or not to "AI", that is the question
FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10103
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Group inside a group

Post by FourthWorld »

Set the outer group's selectGroupedControls property to false.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
simon.schvartzman
Posts: 672
Joined: Tue Jul 29, 2014 12:52 am

Re: Group inside a group

Post by simon.schvartzman »

Many thanks, works OK.

Best!
Simon
________________________________________
To "AI", or not to "AI", that is the question
dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10501
Joined: Wed May 06, 2009 2:28 pm

Re: Group inside a group

Post by dunbarx »

What Richard said.

This is more commonly used to move one or more controls within a single group.

Craig
Post Reply