Re: Socket questions

2018-08-18 Thread Mark Wieder via use-livecode
On 08/18/2018 01:38 PM, Douglas Ruisaard via use-livecode wrote: However, if I substitute "www.googleXXX.com:80" as the socket ID (or distort *my* ESP8266 ID to a non-existent one), I would have expected some sort of error message... trapped by the "socketError" handler ... but I get nothing.

Re: Navigator 6.0 Alpha 4

2018-08-18 Thread Geoff Canyon via use-livecode
I’ll have a look when I’m back at my laptop. gc > On Aug 18, 2018, at 10:30 AM, Douglas Ruisaard via use-livecode > wrote: > > Geoff... > > Excellent tool but I can't seem to get it to display one of the "cards" of a > Data Grid template. In a "standard" DataGrid Form object, Card Id's

Re: logging

2018-08-18 Thread Mike Kerner via use-livecode
It's a different audience. Choose wisely. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode

Re: fullscreenmode and rect of a substack on mobile device ?

2018-08-18 Thread J. Landman Gay via use-livecode
Actually, the rect of the stack remains constant in fullscreenmode, you don't need to account for the engine resizing. All placement calculations can be done normally. That's one of the beauties of it. Handling dynamic placement is no different than without fullscreenmode, except that you

Re: Split an Array to Numeric with 2 Dimensions

2018-08-18 Thread Monte Goulding via use-livecode
I think what you are after is an enhancement request here https://quality.livecode.com/show_bug.cgi?id=9950 For now you would need to use numeric keys for the columns: split theList by return and “|” put theList[2][1] -> orange > On 19 Aug

Re: fullscreenmode and rect of a substack on mobile device ?

2018-08-18 Thread J. Landman Gay via use-livecode
On 8/18/18 7:52 PM, J. Landman Gay via use-livecode wrote: Actually, the rect of the stack remains constant in fullscreenmode, you don't need to account for the engine resizing. All placement calculations can be done normally. That's one of the beauties of it. I didn't express this exactly

Re: fullscreenmode and rect of a substack on mobile device ?

2018-08-18 Thread Brian Milby via use-livecode
@Sannyasin Something just clicked... if fullscreenmode is not empty, then resizestack messages are not generated. Which is part of why the new commands were created. For what you want with the browser, your handlers should be very simple. Here's what I came up with to put the browser widget

Socket questions

2018-08-18 Thread Douglas Ruisaard via use-livecode
Experimenting with sockets in LC .. Windows 7 Pro, LC v8.1.9. I have tsnet working fine in another project but tsnet appears to be primarily for "sending" stuff (sorry for the technical jargon). Of course, tsnet can read after it sends a request. However, sockets let me simply open and

fullscreenmode and rect of a substack on mobile device ?

2018-08-18 Thread Ludovic THEBAULT via use-livecode
Hello, I’ve a stack for phone and a substack for tablet (with iPad ratio, 1024*768). i use the fullscreenmode to « show all » On android tablet, the ratio height/width is sometimes very different from iPad. I tried to change the height of the substack before open it but with no luck : // in the

logging

2018-08-18 Thread Mike Kerner via use-livecode
I'm messing with the logger in levure, and looking for feedback, sample code, and thoughts others have from your own logging experience. • Formatting • Delimiters • Information you include • Targets (files, message box, dialogs, fields, etc.) -- On the first day, God created the heavens and the

Re: logging

2018-08-18 Thread Alex Tweedly via use-livecode
Ah, let's see Hardwoods burn better than soft, but you gotta keep the chainsaw really sharp. -- Alex. On 18/08/2018 17:06, Mike Kerner via use-livecode wrote: I'm messing with the logger in levure, and looking for feedback, sample code, and thoughts others have from your own logging

Re: fullscreenmode and rect of a substack on mobile device ?

2018-08-18 Thread Sannyasin Brahmanathaswami via use-livecode
I have a similar issue with a stack that a) contains a browser that wants to fill the entire screen (of any device) b) a tool bar on the bottom, the background ( 50 px wide) which to set to 2000 wide c) a 4 widget that appear on bottom on top to background. It should work on portrait and

Split an Array to Numeric with 2 Dimensions

2018-08-18 Thread Sannyasin Brahmanathaswami via use-livecode
I decide to study up to improve my array management skills. Looked up the dictionary: element, columnDel, RowDelimiter etc Tools I never used. But I can't fine a "one pass" split that takes a dBase dump like this and makes a 2nd dimension. Other than to do it "manually" Also I thought, after

Re: fullscreenmode and rect of a substack on mobile device ?

2018-08-18 Thread AndyP via use-livecode
you could try using either the working or effective adjectives before the screenRect working ScreenRect effective screenRect to see if you get better results? from the dictionary /Adding the working adjective to either form returns the virtual co-ordinates of each screen's working-area. The

Re: fullscreenmode and rect of a substack on mobile device ?

2018-08-18 Thread Brian Milby via use-livecode
For your browser example, you probably want to use noScale. You just need to be sure you capture the rect at the right time. You don’t know the new rect until after the orientation changed handler ends. I’ll see if I can locate that stack example again that you put up. Unfortunately I can only

Re: logging

2018-08-18 Thread Mike Kerner via use-livecode
Really? I thought you just added more bar oil, or ground the gages down a bit more. On Sat, Aug 18, 2018 at 12:33 PM Alex Tweedly via use-livecode < use-livecode@lists.runrev.com> wrote: > Ah, let's see > > Hardwoods burn better than soft, but you gotta keep the chainsaw really > sharp. >

Navigator 6.0 Alpha 4

2018-08-18 Thread Douglas Ruisaard via use-livecode
Geoff... Excellent tool but I can't seem to get it to display one of the "cards" of a Data Grid template. In a "standard" DataGrid Form object, Card Id's 1002 and 1005 are created. According to the LC Project Browser, which identifies iconically and positionally the "Data Grid Template

RE: Bluetooth detection and use?

2018-08-18 Thread Douglas Ruisaard via use-livecode
I'm always happy to see the Bluetooth topic "revived" for another exposure on this forum... since I also am quite interested in it. I have been VERY successful in using the mergBLE library in LC for IOS (but it takes some getting used to) ... Unfortunately, it is exclusive to IOS which leaves

Re: Android compass question

2018-08-18 Thread Jonathan Lynch via use-livecode
Hi Jacqueline, Thank you for this reply. I keep working with this issue, but I still cannot resolve it. When I put the Android phone down on a table, to be still, the compass heading from LC jumps up and down by as much as 10 degrees - way too big of a range just to round. However, the compass

Re: logging

2018-08-18 Thread Richard Gaskin via use-livecode
Mike Kerner wrote: > I'm messing with the logger in levure, and looking for feedback, > sample code, and thoughts others have from your own logging > experience. > • Formatting > • Delimiters > • Information you include > • Targets (files, message box, dialogs, fields, etc.) This conversation

Re: Android compass question

2018-08-18 Thread Jonathan Lynch via use-livecode
Just a quick addendum to my last comment - I found an html5 online compass demo that works well on the device. That means I might be able to use the browser widget that displays the map to read the compass from the device. If that works, I could reset the map heading inside the widget without

Re: fullscreenmode and rect of a substack on mobile device ?

2018-08-18 Thread Richard Gaskin via use-livecode
Ludovic THEBAULT wrote: > I’ve a stack for phone and a substack for tablet (with iPad ratio, > 1024*768). i use the fullscreenmode to « show all » > > On android tablet, the ratio height/width is sometimes very different > from iPad. > I tried to change the height of the substack before open it

Re: fullscreenmode and rect of a substack on mobile device ?

2018-08-18 Thread Brian Milby via use-livecode
Here is the card script that I just tested on iOS. It will rotate a two object card between portrait/landscape on my phone with no issues. It handles either orientation as the initial orientation. local sOrientation, sLongSide, sShortSide on preOpenCard local tScreenRect if the