Grabbing a widget

Mike Bonner bonnmike at gmail.com
Wed Jun 27 15:02:19 EDT 2018


I haven't found a way to make it stop sticking either.  And I agree with
the QCC entry that basic mouse event type messages including the ability to
use "grab" or whatever should be glommed on to all widgets in some way.
 Admittedly, the grab issue can likely be worked around (mousedown itself
works, you can have mousedown PUT a random number from the widgets script,
its the grab in this case that doesn't work..) so one could use the old
mouse is down set a flag mousemove method to change its location, but in
many cases grab/dragdrop is preferable.

On Wed, Jun 27, 2018 at 12:55 PM Klaus major-k via use-livecode <
use-livecode at lists.runrev.com> wrote:

> Am 27.06.2018 um 20:30 schrieb Klaus major-k via use-livecode <
> use-livecode at lists.runrev.com>:
> > Hi Richmond,
> >> Am 27.06.2018 um 20:24 schrieb Richmond Mathewson via use-livecode <
> use-livecode at lists.runrev.com>:
> >> Indeed: but that is not what I, and subsequently, Klaus, found.
> >> If an SVG widget contains this script:
> >> on mouseDown
> >>  grab me
> >> end mouseDown
> >> in Edit mode, whether the mouse is down or up the widget moves with
> >> the mouse and cannot be released.
> >
> > EXACTLY!
> > Thanks for testing.
>
> In case someone is interested:
> <https://quality.livecode.com/show_bug.cgi?id=21391>
>
>
> Best
>
> Klaus
> --
> Klaus Major
> http://www.major-k.de
> klaus at major-k.de
>
>
> _______________________________________________
> 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