Re: SVG widget and grab me command

2019-02-22 Thread Håkan Liljegren via use-livecode
Or you can use an image instead as they happily handle SVG files nowadays… :-Håkan On 21 Feb 2019, 18:18 +0100, Tore Nilsen via use-livecode , wrote: > > The simple solution was to «group» each individual SVG widget and add the > grab me command to

Re: SVG widget and grab me command

2019-02-21 Thread Tore Nilsen via use-livecode
My mistake, I meant handles, not handlers. The widgets are used to display chess pieces. The actual script «controlling" each widget/group is a behavior, where the script itself resides in a button script. Best regards Tore > 21. feb. 2019 kl. 18:36 skrev hh via use-livecode > : > >> Tore

Re: SVG widget and grab me command

2019-02-21 Thread hh via use-livecode
> Tore wrote: > Since my student does not need any handlers (in fact would not > want any handlers added to the widgets) ... That's exactly why I wrote ControlHandles: The approach doesn't change any property of a control/widget. Your approach does (grouping, scripting) ...

Re: SVG widget and grab me command

2019-02-21 Thread Tore Nilsen via use-livecode
Thanks for your explanation. Since my student does not need any handlers (in fact would not want any handlers added to the widgets), the examples from «ControlHandles89» could not be used. The simple solution was to «group» each individual SVG widget and add the grab me command to the group

Re: SVG widget and grab me command

2019-02-21 Thread Mark Wieder via use-livecode
On 2/21/19 7:02 AM, hh via use-livecode wrote: Widgets are not ordinary controls. So this is not a bug, rather a missing feature (the widget author will have to implement an own "grab"-handler). The widget passes mouseDown but not in a way that "grab" can be used. MouseMove isn't passed (=> not

Re: SVG widget and grab me command

2019-02-21 Thread hh via use-livecode
Widgets are not ordinary controls. So this is not a bug, rather a missing feature (the widget author will have to implement an own "grab"-handler). The widget passes mouseDown but not in a way that "grab" can be used. MouseMove isn't passed (=> not usable) at all. You could try "ControlHandles89"

SVG widget and grab me command

2019-02-21 Thread Tore Nilsen via use-livecode
When one of my students tried to use grab me command in a mouseDown handler on a SVG widget, some strange things happened. In run-mode, the script did not work as expected. The widget would not move with the mouse. When switching back to edit mode, the widget started to move with the mouse

Grab Me

2016-03-27 Thread RM
Go on: I dare you: https://www.dropbox.com/s/djb48g4otvv9pgf/FLATdemo.livecode.zip?dl=0 Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: Grab Me Fails on snapshot Images of fields which are transparent (opaque false)

2016-02-06 Thread Sannyasin Brahmanathaswami
Scott… you are a jewel.. thanks. this worked great! I used white that way I can do anything in the background Confirmed on desktop (mouse) mobile (drag with finger) SCOTT ROSSI WROTE: > 1) Export your tile images from a group that includes a graphic behind the > field set to 1% opacity of the

Re: Grab Me Fails on snapshot Images of fields which are transparent (opaque false)

2016-02-05 Thread Randy Hengst
"grab me" works on any part of transparent fields .. even when clicking on the transparent part of the field… can you just use all fields? Mac 10.10.5 LC 7.1.1 be well, randy Randy Hengst www.classroomFocusedSoftware.com > On Feb 5, 2016, at 11:51 PM, Scott Rossi <sc...@

Grab Me Fails on snapshot Images of fields which are transparent (opaque false)

2016-02-05 Thread Sannyasin Brahmanathaswami
. And unexpectedly, the snapshot of the field seems to include the alpha channel for the background which is set to transparent… so you *can* see through the images.  If you put “grab me” into the  on mousedown     grab me end mousedown script of the image tiles created by this method… you cannot

Re: Grab Me Fails on snapshot Images of fields which are transparent (opaque false)

2016-02-05 Thread Scott Rossi
em: The original field has a transparent background. which I am >hoping to keep. And unexpectedly, the snapshot of the field seems to >include the alpha channel for the background which is set to transparentŠ >so you *can* see through the images. > > If you put ³grab me² into th

Re: Grab Me Fails on snapshot Images of fields which are transparent (opaque false)

2016-02-05 Thread Matt Maier
ckground which is set to transparent… > so you *can* see through the images. > > If you put “grab me” into the > > on mousedown >grab me > end mousedown > > script of the image tiles created by this method… you cannot grab the > image — either with the pointer mouse too

grab me script off page

2011-12-14 Thread Kathy Jaqua
Hi It has been a long time. Does anyone have a script as to how I might keep a field from moving past the edge of a stack (No longer to be seen). That is to say, In a grab me script how do I stop a user dragging a field (or graphic ) past a point on a stack. Thank you for your time

Re: grab me script off page

2011-12-14 Thread Bob Sneidar
the top of my head tho'. Bob On Dec 14, 2011, at 5:49 PM, Kathy Jaqua wrote: Hi It has been a long time. Does anyone have a script as to how I might keep a field from moving past the edge of a stack (No longer to be seen). That is to say, In a grab me script how do I stop a user

Re: grab me script off page

2011-12-14 Thread Roger Eller
On Wed, Dec 14, 2011 at 8:49 PM, Kathy Jaqua wrote: Hi It has been a long time. Does anyone have a script as to how I might keep a field from moving past the edge of a stack (No longer to be seen). That is to say, In a grab me script how do I stop a user dragging a field (or graphic

grab me script off page

2011-12-14 Thread Kathy Jaqua
Thank Bob, I am not quiet sure what you mean. I am just dragging a graphic inside a stack. How does one trap for something. Could you be a bit more specific? It's been a while... Kathy Graves Jaqua ___ use-livecode mailing list

grab me script off page

2011-12-14 Thread Kathy Jaqua
Thank you Roger, I have been using livecode again since April and finish me projects. I feel much, much better now. Yea! Kathy Graves Jaqua ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and

Re: grab me script off page

2011-12-14 Thread Mark Schonewille
Kathy, This does what you want. on mouseDown put the rect of this cd into myRect put the mouseLoc into myMouseLoc put item 1 of myMouseLoc - item 1 of the loc of me comma item 2 of \ the mouseLoc - item 2 of the loc of me into myDiff repeat until the mouse is up

Re: grab me script off page

2011-12-14 Thread Bob Sneidar
Okay I just checked it out, and the dragMove is not getting sent at all with the pointer tool selected. So I turned on the message watcher to see what messages DO get sent. I found one, but it doesn't get sent until AFTER you let go of the object. Still, it can work for you I think. Put this

grab Me script off page

2011-12-14 Thread Kathy Jaqua
Wow! These are great script and both of you are fast. THANK YOU so much Kathy Graves Jaqua ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: grab me script off page

2011-12-14 Thread Bill Vlahos
Welcome back Kathy! Bill Vlahos _ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On Dec 14, 2011, at 7:05 PM, Kathy Jaqua wrote: Thank you Roger, I have been using livecode again since April and

grab me script off page

2011-12-14 Thread Kathy Jaqua
Bill, Thank you. You have always been a bright spot in my life. Kathy Graves Jaqua ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: