Re: Behaviors not honoring script local variables??

2018-06-27 Thread Bob Sneidar via use-livecode
Not only that, I think I overthought this. All I really need to do is retrieve the array and then use the array elements instead of the variables. It all started when I began using behaviors and discovered that a behavior does not have access to a scripts own constants. This was a way for me to

Re: Behaviors not honoring script local variables??

2018-06-27 Thread Bob Sneidar via use-livecode
You know you are right. I just noticed that. That syntax of mine should not have even worked LOL! Talk about a forgiving interpreter! Bob S > On Jun 26, 2018, at 23:25 , Dick Kriesel via use-livecode > wrote: > >> On Jun 26, 2018, at 1:13 PM, Bob Sneidar via use-livecode >> wrote: >> ...

Script Only Stack Behaviors and Nesting

2018-06-27 Thread Bob Sneidar via use-livecode
Hi all. I'm getting heavily into behaviors and script only stacks now (in preparation for Levure Framework) because my project has become complex enough to make it almost inevitable. I have perhaps 20 or so substacks in a mainstack. All the substacks have quite a bit of shared behavior, so I c

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: Tessellated hexagonal grid?

2018-06-27 Thread Bob Sneidar via use-livecode
I would agree if I understood one word of it, or even what the problem was this approach was trying to solve. Bob S > On Jun 27, 2018, at 08:42 , Rick Harrison via use-livecode > wrote: > > Great resource and read. > > Thanks! > > Rick > >> On Jun 27, 2018, at 5:30 AM, hh via use-livecod

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: LC 9 Dictionary, Linux

2018-06-27 Thread panagiotis merakos via use-livecode
Hi Warren, If you quit LC, this setting is lost next time you open LC. You could probably tweak the script that checks the value of this setting. It should be in the script of stack revIdeLibrary, around line 4583: *function* revIDEBrowserWidgetUnavailable * return* (the platform is "Linux") a

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: Remote URL Not Available

2018-06-27 Thread J. Landman Gay via use-livecode
On 6/27/18 12:28 PM, Richard Gaskin via use-livecode wrote: > Or, if there is  just *one* thing that is true, for all "I found the > file, here it is" cases If the result is empty you should be fine. This. An empty result means the file exists and is accessible, so the script can continue a

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: LC 9 Dictionary, Linux

2018-06-27 Thread Warren Samples via use-livecode
On 06/27/2018 12:17 PM, Warren Samples via use-livecode wrote: On 06/27/2018 03:45 AM, panagiotis merakos wrote: > If your Linux machine is not affected by this issue, then you can do the following to open the Dictionary in a LC stack (as it used to be): > > 1. in the msg box type "put 1 int

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: Remote URL Not Available

2018-06-27 Thread Richard Gaskin via use-livecode
Sannyasin Brahmanathaswami wrote: > "it" almost always containa data. > > e.g contains "404 Page Not Found" > > I wondering if we have to parse it for all possible errors? That's the central question of all end-user systems. :) There may be good reason to check for specific errors and handle th

Re: Tessellated hexagonal grid?

2018-06-27 Thread Richard Gaskin via use-livecode
David V Glasgow wrote: > I had already worked through the ‘redblobgames’ resources, and it was > the prospect of trying to implement a hex system in Livecode which was > the gotcha. > > The frustrating thing is that the polygon object displays a nice > scaleable hex - and yet it seems this is not

Re: LC 9 Dictionary, Linux

2018-06-27 Thread Warren Samples via use-livecode
On 06/27/2018 03:45 AM, panagiotis merakos wrote: > If your Linux machine is not affected by this issue, then you can do the following to open the Dictionary in a LC stack (as it used to be): > > 1. in the msg box type "put 1 into $LIVECODE_USE_CEF" > 2. open the dictionary, it should now open i

Re: Remote URL Not Available

2018-06-27 Thread Mark Wieder via use-livecode
On 06/27/2018 07:34 AM, Sannyasin Brahmanathaswami via use-livecode wrote: "it" almost always containa data. e.g contains "404 Page Not Found" I wondering if we have to parse it for all possible errors? Or, if there is just *one* thing that is true, for all "I found the file, here it is" cas

Re: Tessellated hexagonal grid?

2018-06-27 Thread Rick Harrison via use-livecode
Great resource and read. Thanks! Rick > On Jun 27, 2018, at 5:30 AM, hh via use-livecode > wrote: > > Here a rather complete guide to the "theory" with a link > to implementation guides for several programming languages, > especially, close to LC, JavaScript. > > https://www.redblobgames.com

Re: Tessellated hexagonal grid?

2018-06-27 Thread Stephen Barncard via use-livecode
"If I pretend I am a flat-earther, and that the earth I live on is hexagonal, I want all those people who are silly enough to believe that the world is spherical to fall off the hexagonal earth at the vertices of the hexagon, and not the vertices of some other polygonal shape that encloses my hexag

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

Re: Remote URL Not Available

2018-06-27 Thread Sannyasin Brahmanathaswami via use-livecode
"it" almost always containa data. e.g contains "404 Page Not Found" I wondering if we have to parse it for all possible errors? Or, if there is just *one* thing that is true, for all "I found the file, here it is" cases J. Landman Gay wrote: I've used this: get url tURL

Re: Tessellated hexagonal grid?

2018-06-27 Thread Richmond Mathewson via use-livecode
One of the problems about any polygonal shape in LiveCode is that it still subsists inside a square/rectangle. That might seem like a crashingly obvious remark until one starts to consider how squares and how hexagons tesselate. And, even more to the point, how the human brain (and, face fact

Re: What exactly does the status pending in Livecode Quality Control Center mean

2018-06-27 Thread panagiotis merakos via use-livecode
@Ralf, I see the same error when trying to install LC 9 32 bit on Sage. However the exact same setup is successful on Tio. So I guess some of the on-rev servers do have this library, while others don't. I will ask Robin about this. Best, Panos -- On Wed, Jun 27, 2018 at 12:08 PM, Ralf Bitter v

Re: What exactly does the status pending in Livecode Quality Control Center mean

2018-06-27 Thread Ralf Bitter via use-livecode
Hi Matthias, > On 26. Jun 2018, at 23:57, Matthias Rebbe via use-livecode > wrote: > > Hm, On-Rev support told me that GLIBC 2.1.4 is needed to run Livecode Server > 9 64bit on On-Rev. The 32bit version is working on On-Rev with the older one. > They did not mention that this library is also

Re: Tessellated hexagonal grid?

2018-06-27 Thread David V Glasgow via use-livecode
Thanks for all the responses regarding hexes. I had already worked through the ‘redblobgames’ resources, and it was the prospect of trying to implement a hex system in Livecode which was the gotcha. The frustrating thing is that the polygon object displays a nice scaleable hex - and yet it

Re: What exactly does the status pending in Livecode Quality Control Center mean

2018-06-27 Thread Ralf Bitter via use-livecode
Hi Charles, > On 27. Jun 2018, at 08:44, Charles Warwick via use-livecode > wrote: > > Are you referring to asynchronous functions that are only available in the > business edition? These will fail due to the same issue as tsNetGet and > tsNetSendCmd, so no need to file a separate bug repor

Re: Tessellated hexagonal grid?

2018-06-27 Thread hh via use-livecode
Here a rather complete guide to the "theory" with a link to implementation guides for several programming languages, especially, close to LC, JavaScript. https://www.redblobgames.com/grids/hexagons/ ___ use-livecode mailing list use-livecode@lists.run

Re: LC 9 Dictionary, Linux

2018-06-27 Thread panagiotis merakos via use-livecode
Hi Warren, We made this "hack" to open the Dictionary in a browser as a workaround to the problem where some Linux distros could not display the browser widget. If your Linux machine is not affected by this issue, then you can do the following to open the Dictionary in a LC stack (as it used to be

Re: LC 9 Dictionary, Linux

2018-06-27 Thread Warren Samples via use-livecode
On 06/23/2018 07:05 PM, Warren Samples via use-livecode wrote: Hello, I don't recall off the top of my head what the current remaining issue is with the dictionary under Linux. I know there have been a couple or three that have been reported by different people on different distros. The worka

Re: What exactly does the status pending in Livecode Quality Control Center mean

2018-06-27 Thread Charles Warwick via use-livecode
Hi Matthias, > On 27 Jun 2018, at 7:57 am, Matthias Rebbe via use-livecode > wrote: > > Hm, On-Rev support told me that GLIBC 2.1.4 is needed to run Livecode Server > 9 64bit on On-Rev. The 32bit version is working on On-Rev with the older one. > They did not mention that this library is also