Re: Grabbing a widget

2018-06-27 Thread Rick Harrison via use-livecode
It sounds more like "Fly Paper”! You did grab onto it after all. > On Jun 27, 2018, at 4:34 PM, Klaus major-k via use-livecode > wrote: > >> I think you should make it into a game and call it a feature. > > If I'd make a game from it I'd rather call it "Sticky Wicky" or something! :-D > >

Re: Grabbing a widget

2018-06-27 Thread Bob Sneidar via use-livecode
I wonder what would happen if you passed mouseDown? Bob S > On Jun 27, 2018, at 11:24 , Richmond Mathewson via use-livecode > wrote: > > Indeed: but that is not what I, and subsequently, Klaus, found. > > If an SVG widget contains this script: > > on mouseDown > grab me > end mouseDown >

Re: Grabbing a widget

2018-06-27 Thread Klaus major-k via use-livecode
> Am 27.06.2018 um 22:31 schrieb J. Landman Gay via use-livecode > : > > On 6/27/18 2:23 PM, Klaus major-k via use-livecode wrote: >>> Am 27.06.2018 um 21:20 schrieb J. Landman Gay via >>> use-livecode: >>> >>> Choosing the browse tool stops it, in case you don't feel like restarting >>> LC

Re: Grabbing a widget

2018-06-27 Thread J. Landman Gay via use-livecode
On 6/27/18 2:23 PM, Klaus major-k via use-livecode wrote: Am 27.06.2018 um 21:20 schrieb J. Landman Gay via use-livecode: Choosing the browse tool stops it, in case you don't feel like restarting LC. yep, but switching back to EDIT starts the same procedure again, fun for the whole family! :-

Re: Grabbing a widget

2018-06-27 Thread Klaus major-k via use-livecode
Hi Jacqueline, > Am 27.06.2018 um 21:20 schrieb J. Landman Gay via use-livecode > : > > Choosing the browse tool stops it, in case you don't feel like restarting LC. yep, but switching back to EDIT starts the same procedure again, fun for the whole family! :-) > On 6/27/18 2:02 PM, Mike Bonne

Re: Grabbing a widget

2018-06-27 Thread J. Landman Gay via use-livecode
Choosing the browse tool stops it, in case you don't feel like restarting LC. On 6/27/18 2:02 PM, Mike Bonner via use-livecode wrote: I haven't found a way to make it stop sticking either. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | h

Re: Grabbing a widget

2018-06-27 Thread Richmond Mathewson via use-livecode
All that does is show me how much LC centre . . . . Richmond. On 27/6/2018 9:55 pm, Klaus major-k via use-livecode wrote: Am 27.06.2018 um 20:30 schrieb Klaus major-k via use-livecode : Hi Richmond, Am 27.06.2018 um 20:24 schrieb Richmond Mathewson via use-livecode : Indeed: but that is not

Re: Grabbing a widget

2018-06-27 Thread Mike Bonner via use-livecode
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 work

Re: Grabbing a widget

2018-06-27 Thread Klaus major-k via use-livecode
Am 27.06.2018 um 20:30 schrieb Klaus major-k via use-livecode : > Hi Richmond, >> Am 27.06.2018 um 20:24 schrieb Richmond Mathewson via use-livecode >> : >> Indeed: but that is not what I, and subsequently, Klaus, found. >> If an SVG widget contains this script: >> on mouseDown >> grab me >> end

Re: Grabbing a widget

2018-06-27 Thread Klaus major-k via use-livecode
Hi Richmond, > Am 27.06.2018 um 20:24 schrieb Richmond Mathewson via use-livecode > : > > 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 wid

Re: Grabbing a widget

2018-06-27 Thread Richmond Mathewson via use-livecode
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. Richmond. On 27/6/2018 9:04 pm, hh via use-livecod

Re: Grabbing a widget

2018-06-27 Thread Klaus major-k via use-livecode
Hi Hermann, > Am 27.06.2018 um 20:04 schrieb hh via use-livecode > : > >> Klaus wrote: >> ... any opinion to the funky behaviour I experienced? > > Sorry, I overlooked that you are using LC 9. > With LC 9 in edit mode the SVG widget is here moved with > the mouse even without any script. That'

Re: Grabbing a widget

2018-06-27 Thread hh via use-livecode
> Klaus wrote: > ... any opinion to the funky behaviour I experienced? Sorry, I overlooked that you are using LC 9. With LC 9 in edit mode the SVG widget is here moved with the mouse even without any script. ___ use-livecode mailing list use-livecode@li

Re: Grabbing a widget

2018-06-27 Thread Richmond Mathewson via use-livecode
Well, somewhere down the line the author of the SVG widget forget something: That an imported SVG is supposed to behave exactly like any other imported image. Richmond. On 27/6/2018 8:45 pm, hh via use-livecode wrote: A widget is not an ordinary control. It is the widget that has to generat

Re: Grabbing a widget

2018-06-27 Thread Klaus major-k via use-livecode
Hi Hermann, > Am 27.06.2018 um 19:45 schrieb hh via use-livecode > : > > A widget is not an ordinary control. > > It is the widget that has to generate messages for user's interaction. > So the widget's author decides whether you can grab it or not. See the > still actual discussion from 2015 h

Re: Grabbing a widget

2018-06-27 Thread hh via use-livecode
A widget is not an ordinary control. It is the widget that has to generate messages for user's interaction. So the widget's author decides whether you can grab it or not. See the still actual discussion from 2015 here: http://forums.livecode.com/viewtopic.php?p=126208#p126208 ___

Re: Grabbing a widget

2018-06-27 Thread Klaus major-k via use-livecode
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

Re: Grabbing a widget

2018-06-27 Thread Klaus major-k via use-livecode
Hi Richmond, > Am 27.06.2018 um 16:50 schrieb Richmond Mathewson via use-livecode > : > > is problematic. > I have an SVG widget called "h5" which I am trying to drag to a drop target, > which should be easy-peasy, but isn't. > LiveCode 8.1.8 > The widget contains this code: > on mouseDown > g

Grabbing a widget

2018-06-27 Thread Richmond Mathewson via use-livecode
is problematic. I have an SVG widget called "h5" which I am trying to drag to a drop target, which should be easy-peasy, but isn't. LiveCode 8.1.8 The widget contains this code: on mouseDown grab me end mouseDown on mouseUp if intersect(widget "h1", widget "h5",5) then set the loc