Search found 2883 matches

by SparkOut
Thu Aug 21, 2025 5:42 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Problem with date
Replies: 29
Views: 527

Re: Problem with date

Using "set the useSystemDate to true" in a handler where dates are interpreted generally makes things a lot simpler. Put one field on a card "fldDate" and get a user to put a date into it in the user's typically accepted format In a button on mouseUp set the useSystemDate to true put field "fldDate"...
by SparkOut
Wed Aug 20, 2025 4:16 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Problem with date
Replies: 29
Views: 527

Re: Problem with date

See the dictionary entry for "useSystemDate"
by SparkOut
Mon Aug 11, 2025 4:56 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: convert to date
Replies: 24
Views: 5089

Re: convert to date

That's a story of hers, from childhood when her brother couldn't say Jackie. It tickled me, and now I can't help saying [writing] it. As well as klausimausi.

viewtopic.php?f=49&t=39044&p=229354&hilit=Jwack#p229354
by SparkOut
Sun Aug 10, 2025 7:16 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: convert to date
Replies: 24
Views: 5089

Re: convert to date

Heh, I don't think that was the fix, jwack said to put word 1 of each field into the relevant item of the date to be converted (which woild strip any whitespace/extraneous characters). Which implies that the original contents of the field were not "clean" values within range/devoid of extra characte...
by SparkOut
Sat Aug 09, 2025 8:25 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: convert to date
Replies: 24
Views: 5089

Re: convert to date

You may also experiment with the useSystemDate property

Code: Select all

set the useSystemDate to true

Not that your sample code shows a date that would encounter a problem, but on Windows anything before 1970 is not recognised as a date. A disappointingly ignored problem since forever.
by SparkOut
Sat Aug 02, 2025 8:11 am
Forum: Off-Topic
Topic: Windows 11
Replies: 3
Views: 6975

Re: Windows 11

The only thing beyond any usual historic issues I've encountered in the IDE on Windows 11 is that in the last version or two, the backdrop has created some window focusing problems. Elements don't drop in the right place or can't be selected. It's (very unfortunately) been necessary to turn off the ...
by SparkOut
Thu Jul 17, 2025 7:49 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Modifier Keys?
Replies: 32
Views: 13366

Re: Modifier Keys?

and how would ctrl-alt-shift + key go down with Windows users? Personally, I would say likely better than using Shift Lock. But, what's the target user? Is it a user of non Roman alphabets (eg your Devawriter user base)? Or more of a Unicode power user tinkering with the character sets? Either way,...
by SparkOut
Wed Jul 16, 2025 8:07 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Global Variable Not Working Between Cards?
Replies: 6
Views: 3965

Re: Global Variable Not Working Between Cards?

Also check that you don't have a duplicated field on the details card that's obscuring the destination field. It *might* be that your code is fine, but you're not seeing the content because of something in the way.
by SparkOut
Mon Jul 14, 2025 7:28 pm
Forum: Made With LiveCode
Topic: how to manage data in LiveCode when working with multiple cards?
Replies: 12
Views: 12773

Re: how to manage data in LiveCode when working with multiple cards?

There's a lot of options available depending on the use case and user interface. Not necessarily, but another possible solution could be a "placed group" with the behave as a background option selected. We really need more info from the OP as to what is the goal.
by SparkOut
Mon Jun 16, 2025 7:32 pm
Forum: LiveCode Hosting
Topic: Anyone manage to make "revExecuteSQL" working?
Replies: 5
Views: 10580

Re: Anyone manage to make "revExecuteSQL" working?

Is this running in the IDE or a standalone? If standalone, you'll need to ensure the database external is found and accessible for the engine. revdbErr means there's an error generated by the LiveCode database library. It's not really clear what's going wrong without seeing your code specifically ma...
by SparkOut
Mon Jun 16, 2025 5:28 pm
Forum: LiveCode Hosting
Topic: Anyone manage to make "revExecuteSQL" working?
Replies: 5
Views: 10580

Re: Anyone manage to make "revExecuteSQL" working?

When you're using "put... into..." the engine is expecting an expression to be resolved, eg values, or a function. "put" is a command. Whereas revExecuteSQL is also a command, so it doesn't parse to have two commands following each other in the same statement. Try leaving out the "put... into..." pa...
by SparkOut
Mon Jun 09, 2025 5:41 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Screen freezes about 30 seconds after exiting repeat loop
Replies: 10
Views: 7929

Re: Screen freezes about 30 seconds after exiting repeat loop

Quite possibly the loop exit condition is not met because the subtraction of 1 per iteration is done with floating point arithmetic and the nearest the value gets to zero is only ever a very close approximation. Try making the repeat until check less than or equal to zero, not "exactly zero". Also t...
by SparkOut
Wed May 21, 2025 8:41 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Test ADB install fails when done over published app
Replies: 6
Views: 5576

Re: Test ADB install fails when done over published app

Just to be doubly sure, where are you setting the version number and what format is it?
If you are using typical dotted format for major.minor.release numbers, this will possibly fail. Just use an integer that is higher than previous and try that.
by SparkOut
Wed May 21, 2025 4:52 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Test ADB install fails when done over published app
Replies: 6
Views: 5576

Re: Test ADB install fails when done over published app

In the standalone settings, are you changing the version number at all? If you use a higher integer than the current installation, then it should install as an update.
by SparkOut
Wed May 14, 2025 11:30 pm
Forum: Talking LiveCode
Topic: I didn't know commas were letters
Replies: 44
Views: 26733

Re: I didn't know commas were letters

I am asking how to count words, and then, having deleted several from a textField how to put them into another textField with commas, and other punctuation marks intact. The commas are not treated as letters, what you are doing is copying words only (without punctuation, since the commas are not pa...