ahsoftware at sonic.net
Sun Jul 26 21:24:27 EDT 2020
On 7/26/20 5:31 PM, Alex Tweedly via use-livecode wrote:
> I think my head is melting :-)
> I have a group called 'A'.
> Inside A, there is a rect called "R" and also a group called "B"
> inside B there is a rect called "R"
> How do I refer unambiguously to the first rectangle (i.e. A - R, not A -
> B - R) ?
> If I say
> grc "R" of grp "B" of grp A
> then I unambiguously get A-B-R; but if I say simply
> grc "R" of grp "A"
> then I *also* get A-B-R.
> There must be a way to do this (and maybe if it wasn't nearly 2 in the
> morning I would be able to figure it out).
> Help! Please !
Sounds like a layering problem - the rect in group B is being
encountered first. I think if you relayer it so that group B has a
higher (later) layer number than the rect outside the group you'll get
what you want.
ahsoftware at gmail.com
More information about the use-livecode