Editing groups and mouse messages
Richard Gaskin
ambassador at fourthworld.com
Fri Oct 17 15:17:04 EDT 2008
Mark Schonewille wrote:
> Why edit the group? Can't you just get all layer numbers of all
> groups, take the highest number and set the layer of the target group
> to to that number? Subsequently, get all layer numbers of of the
> controls in a group and set the layer number of the target control to
> the highest number. This should help, in case editing a group indeed
> messes up messages.
Chipp's thread went into that in detail, but in short all the icons are
in a group and turning on the relayerGroupedControls (necessary to
relayer stuff without a group without using editBackground) and then
setting the layer causes the icon group to become a member of the
highest other icon group, so this:
grp "Main"
grp "Icon1"
btn
fld
grp Icon2"
btn
fld
...becomes:
grp "Main"
grp "Icon2"
btn
fld
grp "Icon1"
btn
fld
What I'm after is:
grp "Main"
grp "Icon2"
btn
fld
grp "Icon1"
btn
fld
--
Richard Gaskin
Fourth World Media Corporation
___________________________________________________________
Ambassador at FourthWorld.com http://www.FourthWorld.com
More information about the use-livecode
mailing list