Re: arrayencode

2022-06-23 Thread Ralf Bitter via use-livecode
Hi Alex, the JSONtoArray() function is part of the mergJSON external. The README of this external describes how to use this function and it's counterpart JSONtoArray as follows: This external has been implemented to encode/decode UTF8 JSON to a LiveCode array as quickly as possible. Currently

Re: How to color a "cell"?

2022-06-23 Thread Craig Newman via use-livecode
Richard. I think this was discussed on the forum a while back. I do not believe you can do what you want without another control overlying the “rect” of the “cell”. Craig > On Jun 22, 2022, at 8:11 PM, Richard Gaskin via use-livecode > wrote: > > I need to set the backgroundColor of a

Re: arrayencode

2022-06-23 Thread Ralf Bitter via use-livecode
On 23.06.22 14:23, Alex Tweedly via use-livecode wrote: On 23/06/2022 10:31, Ralf Bitter via use-livecode wrote: Hi Alex, the JSONtoArray() function is part of the mergJSON external. The README of this external describes how to use this function and it's counterpart JSONtoArray as follows:

Re: Stylistic question.

2022-06-23 Thread J. Landman Gay via use-livecode
Something must have changed or you use a debugging method different from mine. Red dot breakpoints do not work in script only stacks because those stacks have no custom properties, which is where breakpoints are kept. I couldn't get scripted breakpoints to work either but I may have forgotten

Re: Stylistic question.

2022-06-23 Thread J. Landman Gay via use-livecode
Breakpoints work fine in the IDE. But script only stacks do not retain them when remote debugging, or at least they didn't for me. Are you talking about mobile apps? -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On June 23, 2022

Re: Stylistic question.

2022-06-23 Thread Bob Sneidar via use-livecode
Hi Jacqueline. I use script only stacks a LOT, and the red dot breakpoints are working for me. Try Clear All Breakpoints from the SE Debug menu (I think it will only clear breakpoints from open scripts though.) Also in the SE under the Breakpoints tab, you can uncheck all the existing

Re: How to color a "cell"?

2022-06-23 Thread Richard Gaskin via use-livecode
Craig wrote: > Richard wrote: >> I had hoped the paragraph-level formatting options introduced in >> v5.x would help, but alas as far as I can tell I can only set the >> backgroundColor of a run of text, not the full cell. > > I think this was discussed on the forum a while back. I do not

Re: arrayencode

2022-06-23 Thread Martin Koob via use-livecode
Hi There is a confirmed bug in bugzilla regarding loading of the mergJSON library. https://quality.livecode.com/show_bug.cgi?id=21223 I ran into it when building a standalone. I didn’t cause a problem in the IDE. In the standalone settings ‘Inclusions’ tab if I chose 'Search for required

Using card with the long id in a variable

2022-06-23 Thread Bob Sneidar via use-livecode
Hi all. I just ran across an interesting "bug". In the IDE I had erroneously used the keyword "card" with a reference to the long id of the card as in card pParentCard. Since the long id already contains the keyword card it resolved to card "card ID 12345 of stack x of stacks". The strange

Re: Stylistic question.

2022-06-23 Thread Bob Sneidar via use-livecode
OIC I didn't grok you were talking about standalone apps. Bob S > On Jun 23, 2022, at 10:25 , J. Landman Gay via use-livecode > wrote: > > Breakpoints work fine in the IDE. But script only stacks do not retain them > when remote debugging, or at least they didn't for me. Are you talking

Re: Stylistic question.

2022-06-23 Thread Mike Kerner via use-livecode
Red-dotting: A couple of things: 1) I don't use the SE very often, so I have not tried red-dotting before building. However, "BREAKPOINT" works. 2) Once you have the remote debugger up, you can red-dot all you like, and they will stick until the app closes 3) When I'm debugging (like I am,

Re: How to color a "cell"?

2022-06-23 Thread Richard Gaskin via use-livecode
Thanks Mark - works. I could have sworn I'd tried "line" earlier when attempting to set the backgroundColor, and when it failed was when I switched to trying "paragraph". But it works now so I don't mind being mistaken. Oddly, "paragraph" appears to be synonymous with "line" for the

Re: How to color a "cell"?

2022-06-23 Thread Alex Tweedly via use-livecode
On 23/06/2022 19:28, Richard Gaskin via use-livecode wrote: Thanks. I could get away with setting the backgroundColor of the whole line, but that does the same as setting the backgroundColor of a "cell": it draws the color only beneath the portion of the line that contains text, leaving

Re: arrayencode

2022-06-23 Thread Alex Tweedly via use-livecode
On 23/06/2022 17:48, Ralf Bitter via use-livecode wrote: Hi Alex, have you added the mergJSON External to your server installation? No. In fact, I didn't realize I needed to, or even could :-) You guessed it, use "load extension", example (tested on on-rev): load extension from file

Re: How to color a "cell"?

2022-06-23 Thread Mark Waddingham via use-livecode
IIRC you need to use ‘line’ to set ‘paragraph‘ properties of fields… Sent from my iPhone > On 23 Jun 2022, at 19:29, Richard Gaskin via use-livecode > wrote: > > Craig wrote: > > > Richard wrote: > >> I had hoped the paragraph-level formatting options introduced in > >> v5.x would help, but

Re: Error message that vector icon widget missing when building iOS standalone

2022-06-23 Thread J. Landman Gay via use-livecode
On 6/22/22 10:10 AM, matthias rebbe via use-livecode wrote: I've reinstallled the Vectore Icon widget again and the build process was successful. Then i've unloaded the widget and rebuild the standalone again and the build was also successful. But as soon as i uninstall that widget i get

Re: How to color a "cell"?

2022-06-23 Thread Mark Waddingham via use-livecode
On 2022-06-23 23:54, Richard Gaskin via use-livecode wrote: Thanks Mark - works. I could have sworn I'd tried "line" earlier when attempting to set the backgroundColor, and when it failed was when I switched to trying "paragraph". But it works now so I don't mind being mistaken. Oddly,

Re: Stylistic question.

2022-06-23 Thread Richard Gaskin via use-livecode
J. Landman Gay wrote: > Breakpoints work fine in the IDE. But script only stacks do not > retain them when remote debugging Breakpoints are a runtime-settable property, so those who enjoy C-flavored workflows with lots of tiny text files could save their breakpoints out to text files and have

Re: arrayencode

2022-06-23 Thread Alex Tweedly via use-livecode
On 23/06/2022 10:31, Ralf Bitter via use-livecode wrote: Hi Alex, the JSONtoArray() function is part of the mergJSON external. The README of this external describes how to use this function and it's counterpart JSONtoArray as follows: Thanks Ralf. I did see that code in the dictionary - but