Grouping controls within a group

Mats Wilstrand mats.wilstrand at tapirsoft.com
Wed Feb 26 20:08:48 EST 2014


Hi Pete

In 6 + versions, I use the "relayer" command as it gives full control and
works really well.

on mouseUp
   new grp
   relayer last grp to back of grp "G"
   relayer btn "A" to back of last grp
   relayer btn "B" to back of last grp
end mouseUp

If you do not want to use "relayer" you can do this instead:

on mouseUp
   select empty
   set the selected of btn "A"  to true
   set the selected of btn "B"  to true
   group
end mouseUp

Best
Mats





More information about the use-livecode mailing list