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: 641
Joined: Tue Jul 29, 2014 12:52 am
Location: Brazil

Group inside a group

Post by simon.schvartzman » Mon Aug 10, 2020 3:35 pm

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 ";" or not to ";" that is the question

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9840
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Group inside a group

Post by FourthWorld » Mon Aug 10, 2020 3:52 pm

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: 641
Joined: Tue Jul 29, 2014 12:52 am
Location: Brazil

Re: Group inside a group

Post by simon.schvartzman » Mon Aug 10, 2020 4:38 pm

Many thanks, works OK.

Best!
Simon
________________________________________
To ";" or not to ";" that is the question

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9669
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Group inside a group

Post by dunbarx » Mon Aug 10, 2020 5:23 pm

What Richard said.

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

Craig

Post Reply

Return to “Talking LiveCode”