Grabbing a widget

Klaus major-k klaus at major-k.de
Wed Jun 27 11:01:32 EDT 2018


Hi all,

here my recipe macOS 10.13.5, LC 9:
1. Create a stack
2. Create a SVG widget
3. Add this script to the SVG:
on mouseDown
  grab me
end mouseDown
4. Switch to POINTER tool
5. Nothing happens, no GRAB on mousedown!
6. Switch back to EDIT tool and move the mouse to the stack with the SVG,
et voila paranoia 8-)

> Am 27.06.2018 um 16:57 schrieb Klaus major-k via use-livecode <use-livecode at lists.runrev.com>:
> ...
> 
> just ried this at home with LC 9, and it is even worse!
> 
> I added a SVG widget to a fresh stack and added this script:
> on mouseDown
>  grab me
> end mouseDown
> 
> BUT, it moves with the mouse with the EDIT tool (no mousedown!), if it is selcted or not
> and does nothing when I switch to POINTER tool and click until my wrist gets numb!?
> Before I bug report it, anyone seeing this, too?

Best

Klaus

--
Klaus Major
http://www.major-k.de
klaus at major-k.de





More information about the Use-livecode mailing list