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


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to