Group Conundrum Take 2 (Ignore first post)

Terry Judd tsj at unimelb.edu.au
Wed Sep 17 23:55:36 EDT 2008


Hi Chip - I've struggled with this before and from memory you can't usually
do it in a single step. You essentially have to reorder objects or groups
(by moving them to the top of the group) in such a way that the object/group
you're interested in is forced down through the layers into the desired
position. So in your example I think you would...

1. set the layer of btn "fred" to 2
2. set the layer of grp "fruit" to 2
3. set the layer of grp "meat" to 2

...ending up with your desired layering sequence.

HTH,

Terry...


On 18/9/08 1:40 PM, "Chipp Walters" <chipp at chipp.com> wrote:

> Here's my control outlilne:
> 
> Layer | Control
> ------------------------------------------
> 1          group "food"
> 2              group "meat"
> 3                 button "chicken"
> 4                 button "beef"
> 5              button "fred"
> 6              group "fruit"
> 7                 button "apple"
> 8                 button "orange"
> 
> If I execute the following statement:
> 
> set the relayerGroupedControls to true
> set the layer of group "fruit" to 5
> set the relayerGroupedControls to false
> 
> All of a sudden, group "fruit" is now a sub group of group "meat" and looks
> like:
> 
> Layer | Control
> ------------------------------------------
> 1          group "food"
> 2              group "meat"
> 3                 button "chicken"
> 4                 button "beef"
> 5                 group "fruit"
> 6                    button "apple"
> 7                    button "orange"
> 8              button "fred"
> 
> 
> Anyone know how to get it to look like:
> 
> Layer | Control
> ------------------------------------------
> 1          group "food"
> 2              group "meat"
> 3                 button "chicken"
> 4                 button "beef"
> 5              group "fruit"
> 6                 button "apple"
> 7                 button "orange"
> 8              button "fred"
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

-- 
Dr Terry Judd
Lecturer in Educational Technology (Design)
Biomedical Multimedia Unit
Faculty of Medicine, Dentistry & Health Sciences
The University of Melbourne
Parkville VIC 3052
AUSTRALIA

61-3 8344 0187




More information about the use-livecode mailing list