Search found 2 matches

by livecode-atc
Wed Mar 01, 2023 3:13 pm
Forum: iOS Deployment
Topic: Keyboard remains visible
Replies: 2
Views: 6107

Re: Keyboard remains visible

Hi @GoneToSail , try putting focus on nothing after your repeat.
I don't know why it uses the closeCard but personally I like to use the preOpenCard and if you know the name of those fields that cannot be edited. The loop I would use would be something like:


repeat for each item tFieldName in ...
by livecode-atc
Tue Feb 28, 2023 4:37 pm
Forum: Talking LiveCode
Topic: NDJSON?
Replies: 2
Views: 3335

Re: NDJSON?

Hello everyone
From what I can understand, the NDJSON consists of one JSON for each line. So you can create a couple of functions using JSONtoArray and ArrayToJSON.


-- NDJSONtoArray
function NDJSONtoArray pNDJSON
local tIndex = 0, tArray

repeat for each line tJSON in pNDJSON
add 1 to ...