David. I could not understand your issue, so I made the controls you mentioned. The thing that matters is not the lockLoc property, but rather the “opaque” property.
A group of controls is just a, er, group of controls. The “group” itself can, however, take on a life of its own if, as in this exercise, something like the opaque property is set. In that case, dragging a control with a lower layer number will disappear behind the group rect, regardless of whether or not there is a child control in front. Am I getting your problem at all? Craig > On Jan 22, 2024, at 8:02 PM, David Epstein via use-livecode > <use-livecode@lists.runrev.com> wrote: > > A group with lockLoc set to false does not resize itself when an object in it > is moved by a “grab” command. Is this a bug? Is there a simple workaround? > > Recipe using 10.0.0 dp6 on an intel Mac: > > Create a button with this script: > on mouseDown; grab me; end mouseDown. > Group the button. Confirm that the group’s lockLoc property is false. Then > with the browse tool, drag the button past the edge of the group. The button > disappears. > > David Epstein > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode