Hi Xavier - the object I want to relayer is is a clone of a subgroup
of the parent group. When it's created it automatically belongs to the
parent group (so far so good). The relayering comes about because I
need to drag (any of) the subgroups about and the target group needs to
be brought forward so that isn't lost behind other subgroups during the
drag. The parent group contains both individual controls and groups and
so far the only thing I've been able to get even vaguely working is to
have one or more individual controls at the 'bottom' of the group and
set the layer of all subgroups to the layer of the topmost of these
'bottom' individual controls in a repeat loop making sure the target
subgoup is 'relayered' first.
Seems like a horrible hack to me.
Cheers,
Terry...
From: Terry Judd <[EMAIL PROTECTED]>
Date: 1 February 2006 8:52:05 PM GMT+11:00
To: [email protected]
Subject: Re: relayering groups within groups
Terry,
before you change the object to a group, verify that the owner of that
group
is the one where you want to insert it.
I do this usually with a repeat for x = 1 to the number of group in
group/card
if the owner of group x is the group I want or the layer >
group/card and
< than group x+1 of group/card then
that's where it goes...
the super groups have a layer < sub groups. And anything in that group
is <
than any other super group after...
hope that helps...
cheers
Xavier
http://monsieurx.com/taoo
> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com
> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of
> Terry Judd
> Sent: Wednesday, 01 February, 2006 06:10
> To: use-revolution at lists.runrev.com
> Subject: relayering groups within groups?
>
> I'm having real trouble trying to change the layer of a group
> within a group without it either 'breaking free' from it's
> parent group (to be owned by the card) or somehow joining
> with another 'sub' group that belongs to the parent group.
>
> I've got the relayerGroupedControls set to true and I've
> tried setting the layer of the sub-group I want to bring to
> the front of the group to both "the number of controls" and
> the number of controls - the number of controls of the sub
> group (and various other incantations) none of which seem to
> have the desired effect.
>
> Has anyone seen or solved this problem before? I can provide
> more details on what I'm trying to achieve if needed.
>
> Thanks in advance,
>
> Terry...
>
> 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
>
> _______________________________________________
> 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
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution