Search found 2027 matches

by SparkOut
Sun Dec 08, 2019 7:02 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Position object under group created through script after cd was opened
Replies: 4
Views: 221

Re: Position object under group created through script after cd was opened

There are lots of things that *could* be the cause of your problem, but we can't tell for sure what it might be without seeing more of your actual code that creates the group. One other "speculation" is the one line you showed above set the bottom of x to the bottom of grp "y" looks like the error *...
by SparkOut
Fri Nov 22, 2019 9:17 am
Forum: CGIs and the Server
Topic: put header "Status:400" fails
Replies: 4
Views: 256

Re: put header "Status:400" fails

<silly aside>What if you try Status:418?</silly aside>
by SparkOut
Thu Nov 14, 2019 8:40 am
Forum: Off-Topic
Topic: hand-coding html and css
Replies: 4
Views: 329

Re: hand-coding html and css

Wow!
Thanks Mark, that's a definite eye opener
by SparkOut
Thu Nov 07, 2019 8:52 am
Forum: Using Environment Extensions
Topic: Custom keyboard
Replies: 55
Views: 3079

Re: Custom keyboard

I am also going to assume the OP wants a custom keyboard for typing into mobile apps. (Although desktop clients are available, it is a more typical use-case on mobile. Plus, what sort of custom keyboard would you program in LC for a desktop app?) Presumably if that's the case (mobile) then sandboxin...
by SparkOut
Wed Nov 06, 2019 8:53 pm
Forum: Off-Topic
Topic: Strange Fruit
Replies: 16
Views: 1441

Re: Strange Fruit

You have been installed with "malware", probably an addon to firefox.
by SparkOut
Fri Nov 01, 2019 3:31 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Setting focus to a Data Grid
Replies: 42
Views: 1641

Re: Setting focus to a Data Grid

Did you get anywhere with this? This should work to open the "phantom" edit field. dispatch "EditFieldText" to group "MyDataGrid" with (tLongId) where tLongId is the long ID of the field you want to be automatically opened for editing. Unfortunately the DataGrid does not appear to be set up for keyb...
by SparkOut
Fri Nov 01, 2019 2:12 pm
Forum: Android Deployment
Topic: Unable to locate Play Service dependency - BarcodeScanner issue [SOLVED]
Replies: 19
Views: 1756

Re: Unable to locate Play Service dependency

This forum thread contains a link to an example quality site report, as well as being somewhat relevant to the barcode scanning feature:
viewtopic.php?p=181835#p181835
by SparkOut
Fri Nov 01, 2019 10:08 am
Forum: Talking LiveCode
Topic: Unable to find files added in standalone settings
Replies: 9
Views: 687

Re: Unable to find files added in standalone settings

specialFolderPath("resources") is still relevant to standalones. It is most likely what you need. "engine" is much less relevant to how it used to be - it is specific to the relative path of the actual LC engine according to whether a standalone or the IDE. Essentially they historically point to the...
by SparkOut
Mon Oct 28, 2019 9:48 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Number combinations [Solved]
Replies: 13
Views: 943

Re: Number combinations

In your "What it should look like" image there is no pattern for "011" - is this intentional? I am not sure if this is where you are going, but I imagine Hermann believes it to be the case too, that you are finding the unique patterns of 1 or 0 possible for a given length of string. This is essentia...
by SparkOut
Wed Oct 23, 2019 8:55 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Livecode crash on me more then 10 times a day
Replies: 26
Views: 1256

Re: Livecode crash on me more then 10 times a day

Totally subjective thoughts below: FWIW, I find 9.5 the most "stable" of the 9.x series. I use Windows almost exclusively. There is a recurring impression I found that some feedback suggests that most development and testing is on Mac and occasionally Windows anomalies are not caught as they don't p...
by SparkOut
Tue Oct 08, 2019 10:14 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to test whether a variable is empty
Replies: 9
Views: 547

Re: How to test whether a variable is empty

I must confess to being completely baffled by the concept of needing to know whether an undefined variable is empty in the context of being undefined versus "empty". However, maybe the variableNames function is helpful to you: if "undefinedVariable" is not in the variableNames then answer "undefined...
by SparkOut
Tue Oct 08, 2019 10:04 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to test whether a variable is empty
Replies: 9
Views: 547

Re: How to test whether a variable is empty

MichaelBluejay wrote:
Tue Oct 08, 2019 7:01 pm
But this seems to work:

put someVariable + 0 into newVariable

If "newVariable is zero", then someVariable is empty.
What do you get from

Code: Select all

put 0 into someVariable
put someVariable + 0 into newVariable
?
by SparkOut
Sat Oct 05, 2019 10:09 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Can't get data from a Data Grid
Replies: 25
Views: 1149

Re: Can't get data from a Data Grid

If you want to sum a column to get the aggregate value, it's not one line but pretty lean:
http://lessons.livecode.com/m/datagrid/ ... or-columns
by SparkOut
Mon Sep 30, 2019 6:33 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Problem with dateItems and math?
Replies: 6
Views: 459

Re: Problem with dateItems and math?

https://quality.livecode.com/show_bug.cgi?id=4941 says dates currently work between 1970 and 3000 cross platform. Mac users have a wider range of usable dates but not strictly supported. It looks like your time machine isn't seeing the year 2519 as a date any more, so treats the dateItems values as ...
by SparkOut
Wed Sep 25, 2019 3:06 pm
Forum: LiveCode Builder
Topic: How to get started with ... everything?
Replies: 30
Views: 6038

Re: How to get started with ... everything?

@SparkOut : 64-bit windows processes cannot load 32-bit DLLs (and vice-versa) - so (as you already figured out) you need to include the 64-bit version of the DLL in the relevant code folder to work with the 64-bit engine. The subsequent error would appear to be a bug in the LCB VM - try a version o...

Go to advanced search