changing layer within a group by script/ speed of "start editing"
Eric Corbett
eric at canelasoftware.com
Sun Jan 25 20:28:26 EST 2015
Try using the relayer command;
relayer grc 1 of grp x after grc 2 of grp x
You don't need to start editing with relayer, but you need to be careful not to relayer an object to outside the group.
HTH
Eric
> On Jan 25, 2015, at 17:19, Dr. Hawkins <dochawk at gmail.com> wrote:
>
> I have a group with four overlapping graphics.
>
> Depending upon what happens, different ones want to be brought to the top
> and change the overlap.
>
> I'm currently using start editing/set the layer of zzz to top/stop
> editing. I think it also changes the size.
>
> I can actually see the order in which this is handled on an iphone 6+.
> Fast, but visible.
>
> Is start editing "expensive"? Is there a better way to do this?
>
>
> I suppose I could skip the group and catch their handlers in the card or
> stack instead of the group, but . . .
> --
> Dr. Richard E. Hawkins, Esq.
> (702) 508-8462
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list