Its very quiet

2020-03-27 Thread Heather Laine via use-livecode
We are all still here, right? Our list hasn't fallen over again... If you get this, no need to reply ;) Only let me know if you don't. Cheers Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com ___ use-livecode mailing

Re: Its very quiet

2020-03-27 Thread Bob Sneidar via use-livecode
All I am doing right now is working in Livecode! Very refreshing. How about we all chime in on what we are currently working on? Currently I am working on a basic SQL Query Builder. I recently revamped my Database Setup stack, dramatically simplifying it so all that is needed is to add it to

Re: Its very quiet

2020-03-27 Thread Alex Tweedly via use-livecode
It's social distancing. I have to stay 2 metres away from the message - and I can't reach the keyboard. Alex. On 27/03/2020 15:08, Heather Laine via use-livecode wrote: We are all still here, right? Our list hasn't fallen over again... If you get this, no need to reply ;) Only let me know

Re: Its very quiet

2020-03-27 Thread Bob Sneidar via use-livecode
That’s odd. Here in ‘Merica we only have to stay 6 feet away. Bob S > On Mar 27, 2020, at 8:09 AM, Alex Tweedly via use-livecode > wrote: > > It's social distancing. > > I have to stay 2 metres away from the message - and I can't reach the > keyboard. > > Alex. > > On 27/03/2020 15:08,

Re: Its very quiet

2020-03-27 Thread Alex Tweedly via use-livecode
Yeah- but we can't count higher than 2 ! :-) On 27/03/2020 15:17, Bob Sneidar via use-livecode wrote: That’s odd. Here in ‘Merica we only have to stay 6 feet away. Bob S ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this

Re: Determining a scroll based on code unit offsets

2020-03-27 Thread J. Landman Gay via use-livecode
I thought of that, but I only have access to a line number based on paragraphs. On 3/27/20 1:01 PM, Bob Sneidar via use-livecode wrote: There is a formattedHeight On Mar 27, 2020, at 11:00 AM, Bob Sneidar mailto:bobsnei...@iotecdigital.com>> wrote: is there a formattedTextHeight? Bob S

Re: The TopLevel Stack

2020-03-27 Thread Bob Sneidar via use-livecode
NVM. The defaultStack. Not sure why it stops being the defaultStack though. Going to another stack then going to me in the stack script *should* make it the defaultStack again, but it doesn’t. Bob S On Mar 27, 2020, at 3:40 PM, Bob Sneidar via use-livecode

Re: Its very quiet

2020-03-27 Thread Richmond via use-livecode
I didn't get this message, so I'm not replying. Battling with getting online teaching started. Best, Richmond. On 27.03.20 17:08, Heather Laine via use-livecode wrote: We are all still here, right? Our list hasn't fallen over again... If you get this, no need to reply ;) Only let me know if

Re: DataGrid question...

2020-03-27 Thread Mark Wieder via use-livecode
On 3/27/20 11:06 AM, Sean Cole (Pi) via use-livecode wrote: Still, adding images to a field for this kind of purpose is a great shout. Even better if the mouse click handler can determine the column and row, which isn't much of a trick. The row is easy - that's word 2 of the clickline the

Re: Determining a scroll based on code unit offsets

2020-03-27 Thread J. Landman Gay via use-livecode
Hm. My handler fails too on larger offsets but I think it's because there are lines above it that have spaceAbove and spaceBelow attributes, and those aren't being taken into consideration when multiplying lines by the textheight. I think Mark's example might work if formattedHeight adjusted

The TopLevel Stack

2020-03-27 Thread Bob Sneidar via use-livecode
Hi all. I’m having fits here. I have a stack that opens another stack invisible. It supposedly closes itself, then returns to the first stack. At that point, it *should* be the topStack… BUT IT’S NOT! Subsequent commands like setting the text of a field fail with no such object! How do I

Re: The TopLevel Stack

2020-03-27 Thread Phil Davis via use-livecode
Hi Bob, Is the first stack opened as 'toplevel' or in some other mode? That would make a difference. Best - Phil Davis On 3/27/20 3:40 PM, Bob Sneidar via use-livecode wrote: Hi all. I’m having fits here. I have a stack that opens another stack invisible. It supposedly closes itself,

Re: The TopLevel Stack

2020-03-27 Thread Mark Wieder via use-livecode
On 3/27/20 3:40 PM, Bob Sneidar via use-livecode wrote: Hi all. I’m having fits here. I have a stack that opens another stack invisible. It supposedly closes itself, then returns to the first stack. At that point, it *should* be the topStack… BUT IT’S NOT! Subsequent commands like setting

Re: Determining a scroll based on code unit offsets

2020-03-27 Thread Mark Waddingham via use-livecode
Maybe (the formattedHeight of codeunit 1 to OFFSET of FIELD - the formattedHeight of codeunit OFFSET of FIELD)? Sent from my iPhone > On 27 Mar 2020, at 17:59, J. Landman Gay via use-livecode > wrote: > > In our last episode, our heroine was trapped by the selection of a line > containing

Save stack in HTML5

2020-03-27 Thread Colin Holgate via use-livecode
I made progress getting the basic stack going, the main hold ups were ‘wait' and 'the system date', neither of those work. What approach is needed if the stack has text entry that you want to persist when the page is reloaded? Save this stack seems not to work.

Re: Cross-platform Bluetooth and Speech to text

2020-03-27 Thread Paul Dupuis via use-livecode
On 3/27/2020 1:38 PM, R.H. via use-livecode wrote: Cross-platform Speech to Text Has anybody ever implemented "speech to text" (not TTS)? It should be possible with the browser widget using web API's: Microsoft Cognitive Serrvices, IBM Watson, Speechmatics...? But ideally, it would not depend

Re: Determining a scroll based on code unit offsets

2020-03-27 Thread J. Landman Gay via use-livecode
Oops. Not saved. It fails on larger offsets. Maybe I'm doing something wrong. Here's my longer way, it could likely be optimized better. It does rely on a scripted field selection, and the selectedChunk is passed to the handler: on grpScroll pSelChunk -- pSelChunk = selected field chunk:

Re: Determining a scroll based on code unit offsets

2020-03-27 Thread J. Landman Gay via use-livecode
Saved again! I should have thought of that. Thank you. I had just worked out a handler that did the same thing in way too many lines. On 3/27/20 2:47 PM, Mark Waddingham via use-livecode wrote: Maybe (the formattedHeight of codeunit 1 to OFFSET of FIELD - the formattedHeight of codeunit

Re: Determining a scroll based on code unit offsets

2020-03-27 Thread Bob Sneidar via use-livecode
That needs to be turned into a function and added to the MasterLibrary! (If it works…) Bob S On Mar 27, 2020, at 12:47 PM, Mark Waddingham via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: Maybe (the formattedHeight of codeunit 1 to OFFSET of FIELD - the formattedHeight of

Re: Determining a scroll based on code unit offsets

2020-03-27 Thread Bob Sneidar via use-livecode
If someone can come up with a name for the function I’ll post it. Bob S On Mar 27, 2020, at 1:49 PM, Bob Sneidar via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: That needs to be turned into a function and added to the MasterLibrary! (If it works…) Bob S

Re: Unicode mysteries

2020-03-27 Thread Neville Smythe via use-livecode
I have filed a bug report bug_22561 re the misreporting of codepoints for unicode characters. I am pretty convinced the treatment of the Rainbow flag emoji as three separate characters should be treated as incorrect behaviour and therefore

Re: Its very quiet

2020-03-27 Thread Sean Cole (Pi) via use-livecode
Business as usual here. Barely an inconvenience. I've got an animation for the BBC to do. Also working on a desktop / server / html5 combo for Porrima. Creating new simple widgets for text and diagram display. Trying to find time to fix HTML5 deployment foibles. I barely see daylight so asking

Cross-platform Bluetooth and Speech to text

2020-03-27 Thread R.H. via use-livecode
For an interactive learning app using audio and video, I received a request to use Bluetooth to control the player remotely. Also this app shall be extended later to speech commands such as: "Go back", "Go forward", "Stop", "Next lesson", "Repeat section" etc. Cross-platform Blootooth I see

Re: How to "kill" mouseTouches while waiting for an internet connection?

2020-03-27 Thread Sean Cole (Pi) via use-livecode
I always struggled with this. I ended up putting a fully transparent grc covering everything (I call it a blanket) with 'on mouseUp' and 'on mouseDown' set with nothing in them on the grc script. This catches any stray touches I want to be ignored and allow the other processes to complete. Then

Determining a scroll based on code unit offsets

2020-03-27 Thread J. Landman Gay via use-livecode
In our last episode, our heroine was trapped by the selection of a line containing metadata. The heroes of this group saved her. In all cases, scrolling the field was accomplished by using the "select" command to bring the line into view. Alas, escape from one danger has led to another. The

Re: Determining a scroll based on code unit offsets

2020-03-27 Thread Bob Sneidar via use-livecode
There is a formattedHeight On Mar 27, 2020, at 11:00 AM, Bob Sneidar mailto:bobsnei...@iotecdigital.com>> wrote: is there a formattedTextHeight? Bob S On Mar 27, 2020, at 10:58 AM, J. Landman Gay via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: 1,103,7 While 7 is a line

Re: Determining a scroll based on code unit offsets

2020-03-27 Thread Bob Sneidar via use-livecode
is there a formattedTextHeight? Bob S On Mar 27, 2020, at 10:58 AM, J. Landman Gay via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: 1,103,7 While 7 is a line number, multiplying that by the textheight doesn't give consistent results due to line wrap. The first two items are

Re: DataGrid question...

2020-03-27 Thread Sean Cole (Pi) via use-livecode
Still, adding images to a field for this kind of purpose is a great shout. Even better if the mouse click handler can determine the column and row, which isn't much of a trick. Thanks for the insights. Sean On Thu, 26 Mar 2020 at 22:05, Mark Wieder via use-livecode <

Re: Its very quiet

2020-03-27 Thread Paul Dupuis via use-livecode
On 3/27/2020 11:16 AM, Bob Sneidar via use-livecode wrote: All I am doing right now is working in Livecode! Very refreshing. How about we all chime in on what we are currently working on? I'm working on implementing a frozen left column pane "Datagrid" based on the code zryip theSlug kindly