Search found 11172 matches

by Klaus
Tue Oct 08, 2019 1:38 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: selectedText
Replies: 8
Views: 319

Re: selectedText

dalkin wrote:
Tue Oct 08, 2019 9:19 am
Is this expected, or am I a complete idiot?
Show us your script(s) and maybe then we can tell you. :D
by Klaus
Sat Oct 05, 2019 10:54 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Can't get data from a Data Grid
Replies: 25
Views: 737

Re: Can't get data from a Data Grid

Hi Sparkout, ah, yes, or this way. :-) @Michael Here a little script that you can put into your datagrid group directly (NOT the behaviour, just the script of that group): getprop dgDataOfColumns [tUserSelectedColumns] put the dgdata of me into sDataArray ## We build an CR delimited list of all entr...
by Klaus
Sat Oct 05, 2019 9:35 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Can't get data from a Data Grid
Replies: 25
Views: 737

Re: Can't get data from a Data Grid

bogs wrote:
Sat Oct 05, 2019 8:26 pm
Klaus wrote:
Sat Oct 05, 2019 8:09 pm
That lesson unfortunately only deals with getting the content of one specific column.
So it wouldn't be possible to loop through to split each column out to its own array, one at a time? I'll tinker while waiting heh.
https://forums.livecode.com/viewtopic.p ... 81#p183963 8)
by Klaus
Sat Oct 05, 2019 8:09 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Can't get data from a Data Grid
Replies: 25
Views: 737

Re: Can't get data from a Data Grid

Although that section talks about behavior scripts, I am pretty sure the sections referred to *are* in fact the way you'd go after the information. However, I am no DG expert, and certainly defer to others when my own assumptions are incorrect. That lesson unfortunately only deals with getting the ...
by Klaus
Sat Oct 05, 2019 7:15 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Can't get data from a Data Grid
Replies: 25
Views: 737

Re: Can't get data from a Data Grid

Hi Michael, data in fewer than five lines, here are two languages that do it in one: R: df[, 1] SQL: SELECT SUM(debitAmount) FROM journal ah, thank you! You can add a feature request for this here: https://quality.livecode.com Since the datagrid is written in LC, just like the whole IDE, you can als...
by Klaus
Sat Oct 05, 2019 5:45 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Can't get data from a Data Grid
Replies: 25
Views: 737

Re: Can't get data from a Data Grid

Hi Craig,

do you mean the "TinyDictionary" from Bernd and Mike?
Find it here: http://livecodeshare.runrev.com/stack/8 ... Dictionary


Best

Klaus
by Klaus
Sat Oct 05, 2019 2:21 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Can't get data from a Data Grid
Replies: 25
Views: 737

Re: Can't get data from a Data Grid

Michael, no idea why your tone suddenly unpleasantly changed? :shock: We are only USERS of LC trying to help and Bogs just asked if you mean that lesson, so your answer should have been a short Yes or No. To answer your question, there is no shorter way to get the content of all column but a repeat ...
by Klaus
Sat Oct 05, 2019 10:19 am
Forum: Windows
Topic: Datagram memory issue
Replies: 8
Views: 812

Re: Datagram memory issue

Hey, what EYE do with M-EYE name, is M-EYE business, BUDDY! :D
by Klaus
Fri Oct 04, 2019 7:05 pm
Forum: Windows
Topic: Datagram memory issue
Replies: 8
Views: 812

Re: Datagram memory issue

Ultravibeman <> UltraLive, but both with just ONE posting so far?
Come on! 8)
by Klaus
Fri Oct 04, 2019 7:04 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Can't get data from a Data Grid
Replies: 25
Views: 737

Re: Can't get data from a Data Grid

MichaelBluejay wrote:
Fri Oct 04, 2019 6:47 pm
put theLine["Column_Name_with_or_without_quotes_but_quotes_are_safer_so_it_doesnt_get_interpreted_as_a_variable"]
Good boy, although I prefer shorter column names! :D
by Klaus
Fri Oct 04, 2019 5:49 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Can't get data from a Data Grid
Replies: 25
Views: 737

Re: Can't get data from a Data Grid

Hi Michael, neither a nice "Please" nor any bribe will help you here! :D dgdataofline[linenumber] returns an ARRAY, which we cannot just put anyhwere for display without processing, just like -> the dgdata of grp xyz ! If you need a one liner and do not want to parse the array, use -> the dgtext of ...
by Klaus
Fri Oct 04, 2019 2:16 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: get contents file
Replies: 1
Views: 101

Re: get contents file

1. No need to set the defaultfolder. 2. You forgot the FILE: in the URL function 3. URL is a LC function, so NO quotes here! Do this: ... put URL("file:" & specialFolderPath("documents") & "/map.html") into contentsMapFile .... replace "aaaaaa," with "bbbb" in contentsMapFile ... ## Write back if ne...
by Klaus
Fri Oct 04, 2019 12:11 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Here are ways to improve performance for processing large strings
Replies: 7
Views: 320

Re: Here are ways to improve performance for processing large strings

Hi Michael, Thanks, guys. I'd written off for each because it doesn't modify the original string (which is what I need) so I thought I should use the regular for . However, I just tried it, and found that that even if I create a new variable to hold the processed data, it's still blazing fast. yes, ...
by Klaus
Fri Oct 04, 2019 11:46 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Here are ways to improve performance for processing large strings
Replies: 7
Views: 320

Re: Here are ways to improve performance for processing large strings

Hi Michael, you want speed? Then use the "repeat for each" syntax! :D Try this and see what I mean: on mouseup put the milliseconds into startTime put field theHugeString into stringToProcess lock screen repeat for each line tLine in stringToProcess ## tLine hold the CONTENT of the line not the line...
by Klaus
Thu Oct 03, 2019 9:04 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [SOLVED] Encrypt / Decrypt
Replies: 7
Views: 284

Re: Encrypt / Decrypt

FourthWorld wrote:
Thu Oct 03, 2019 8:35 pm
jabedbd wrote:
Thu Oct 03, 2019 4:50 pm
Thanks a lot. it's working fine now :)
What changed?
Yes, please, tell us what solved the problem!
Maybe Richmond's empirical "field" observations? :D

Go to advanced search