Dragging widgets

Randy Hengst iowahengst at mac.com
Tue Feb 28 14:41:04 EST 2017

I’ve not messed with widgets at all… but, with graphics in this situation I would either put

on mouseDown
     grab me
end mouseDown

in the group script…

OR put

on mouseDown
     grab the owner of me
end mouseDown

in the script of each object within the group.

be well,

> On Feb 28, 2017, at 12:56 PM, Richmond Mathewson via use-livecode <use-livecode at lists.runrev.com> wrote:
> I tried grouping my SVG widget, and that allows me to drag the group:
> on mouseDown
>   grab me
> end mouseDown
> HOWEVER, when I wish to move the SVG widget itself it vanishs as it moves outwith
> the boundaries of the group.
> NOW: whether I can group my "Turtle" SVG widget and then have my Turtle Graphics code move
> the group and rotate the widget within the group remains to be seen . . .
> Yup, that works!
> Richmond.
> _______________________________________________
> 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