Quantcast
Channel: LiveCode Forums
Browsing latest articles
Browse All 757 View Live

Mac OS • Re: Where to write preferences

Is there a cross platform library that helps us write "preferences" for app we make on macOS, iOS, Android etc? I'm looking at the conversation above and aiming to upload the idiosyncratic code I have...

View Article


Internet • Re: Different result loading URL

How are you observing the result?Statistics: Posted by FourthWorld — Thu Feb 20, 2025 7:58 pm

View Article


Getting Started with LiveCode - Experienced Developers • backgroundcolor for...

If I put an image with has a transparent background on a field, then the backgroundcolor of the field shows through properly. And if I change the backgroundcolor of the field, then the new...

View Article

Image may be NSFW.
Clik here to view.

Getting Started with LiveCode - Experienced Developers • Re: backgroundcolor...

Hi Jeff,did you try to set the bgcolor to empty before setting to a new color?And/or maybe re-set the imagesource?Just guessing... BestKlausStatistics: Posted by Klaus — Fri Feb 21, 2025 8:44 pm

View Article

Image may be NSFW.
Clik here to view.

Getting Started with LiveCode - Complete Beginners • Get the last two columns

Hello,I'm trying to get some info from a text file, and the data of the text file looks like this:Gainesville,Libra,5684,1987,Hurp1987,BedfordFeather...

View Article


Getting Started with LiveCode - Complete Beginners • Re: Get the last two...

HI,This is a way to do it, but there is a lot of ways to do the sameCODE: put fld "fText" into tText repeat with i = 1 to the num of lines of tText put item -2 to -1 of line i of tText & cr after...

View Article

iOS Deployment • Problem with Mobile Support

Hello everyoneI have a problem with the iOS SDK integration.I'm using Livecode 10 on Mac OS Sequoia 15.3.1 and Xcode 16.2.When I try to set the iOS SDK by pointing to Xcode, I get an error message:The...

View Article

iOS Deployment • Re: Problem with Mobile Support

I continued my research on my own:1 - It doesn't seem possible to install an older SDK on Xcode ( only the Device Simulator is available)2 - The iOS SDK 17 version is available in Xcode 15, which is...

View Article


Games • Revisiting the Game Loop with Claude 3.7 Sonnet

Hi all,I am currently working on Game Loops and have been using Claude 3.7 Sonnet (recently upgraded from version 3.5). I wanted to share a stack that illustrates developing and timing a game loop and...

View Article


Games • Re: Revisiting the Game Loop with Claude 3.7 Sonnet

Good to see you here, Mike. Will review. Are you going to the SoCal Linux Expo next week? It'd be good to see you, and we'll have at least one other LC fan on board.Statistics: Posted by FourthWorld —...

View Article

Made With LiveCode • Re: Fuzzy Clock for Android, iPhone and iPad

Erm, no there isn’t…I suppose I could add a touch option on the time message so that it displays the actual time for a few seconds when you tap it. But wouldn’t that spoil the fun of having fuzzy time...

View Article

Android Deployment • Focus on field when clicked.

Hi Guys!!I am trying to display a keyboard when the field "Test" is clicked. I have tried "on FocusIn" and "on OpenField", with no results. When the selected message is generated, I will use "focus on...

View Article

Android Deployment • Re: Focus on field when clicked.

It should just work automatically. Is the field editable?Statistics: Posted by jacque — Sun Mar 02, 2025 7:29 pm

View Article


Databases • How to correctly insert non-ascii characters in a MySQL database

Is there any possibility in this universe to insert non-ascii data correctly into a field in a MySQL database?If I have a table mytable in "myDB" with a field "content" The field is set to...

View Article

Talking LiveCode • Is it possible to use LiveCode to make Android apps with...

Hey everyone,Hello, I'm new to this group. I found LiveCode by accident while looking for an easy way to make apps for my Android phone. I want to make an app that helps people learn new words, and...

View Article


Talking LiveCode • Re: Is it possible to use LiveCode to make Android apps...

Hi wrenloren,welcome to the forum!Yes, you can use a database on in Android app. Support for SQLite is implemented in Livecode, so just go on and create your app.Here some lessons on how to use SQLite...

View Article

Databases • Re: How to correctly insert non-ascii characters in a MySQL database

The encoding of the SQL database has to match what encoding you are using with textEncode before storing in the database. See https://dev.mysql.com/doc/refman/8.0/en/charset.html for the database...

View Article


Talking LiveCode • Lost the ability to replace text in the SE

In the SE, the pullDown menu "Replace with" in the "Find and Replace" dialog is disabled. So are the "Find Next" "Replace" and "Replace All" buttons. The "Find all" button, however, works fine.So all...

View Article

Getting Started with LiveCode - Experienced Developers • Signature Widget on...

I would like to have the signature widget on my website. It works nicely on a desktop. But, on a mobile browser visiting the page, the browser (safari (ios) & chrome (android)) scrolls and...

View Article

Getting Started with LiveCode - Experienced Developers • Re: Cell formatting...

Time passes...and I come to the party late. But to colorise cell 3 of row 2 of a table field, you can simply do:set the itemDel to tabset the backcolor of item 3 of line 2 of fld "dataset2" to...

View Article

Getting Started with LiveCode - Experienced Developers • Saving Sent Emails

Hi AllI hope everyone is well.Historically when sending emails via livecode I have bcc'd myself in order to maintain a copy of the sent email... I want to try and tidy this up by saving the email into...

View Article


Getting Started with LiveCode - Experienced Developers • does "set the...

I have a stack with a field "text" and a button. (The stack is attached.) The button has the following code in it:CODE: on mouseup local tTopLeft put the globalloc of the topleft of fld "text" into...

View Article


Getting Started with LiveCode - Experienced Developers • Re: does "set...

Mobile devices have no mouse. What are you trying to do?Statistics: Posted by FourthWorld — Fri Mar 07, 2025 8:46 am

View Article

Image may be NSFW.
Clik here to view.

Talking LiveCode • Re: Lost the ability to replace text in the SE

What did you select in the "Look in" menu?The "Replace" controls get disabled if you have selected anything but "Current tab" or "All tabs". It's always been like this, as far as I know. Statistics:...

View Article

Image may be NSFW.
Clik here to view.

Getting Started with LiveCode - Complete Beginners • Predictive Text...

Hi everyone,I have a hidden text field which contains a list of my customers (it’s lengthy!). I have another field where a user types the name of the customer. I’d like my app to display a list of...

View Article


Image may be NSFW.
Clik here to view.

Getting Started with LiveCode - Complete Beginners • Re: Predictive Text...

Predictivity.livecode.zipStatistics: Posted by richmond62 — Mon Mar 10, 2025 2:42 pm

View Article

Getting Started with LiveCode - Experienced Developers • Printing to PDF...

I have a stack of about 12 cards (each card contains 7 fields with 54 lines of text each) that I want to print to a pdf. That works fine up to page 7. On the eighth page, the data that is printed to...

View Article

Image may be NSFW.
Clik here to view.

Talking LiveCode • keyDown doesn't work on mobile

Contrary to what it says in the manual, KeyDown doesn't work on mobile in Classic and I also learned it will not be prioritised on Crate, I think at least it should be taken out of the...

View Article

Talking LiveCode • Re: keyDown doesn't work on mobile

KeyDown as written in question, or RawKeyDown as shown in image? Or both?Statistics: Posted by stam — Mon Mar 10, 2025 4:37 pm

View Article



Getting Started with LiveCode - Experienced Developers • Scroll of browser...

Hi AllI am using the browser widget to View a preview of some HTML text. The browser widget has a vertical scroll bar as selected in the object inspector. Does anybody know how to retrieve the amount...

View Article

Getting Started with LiveCode - Experienced Developers • Re: Printing to PDF...

If you are experiencing this on mobile then one explanation could be that an emoji is encountered in the text being printed. (Bug 22982 was reported and confirmed in 2020 but has not been addressed.)...

View Article

Image may be NSFW.
Clik here to view.

Getting Started with LiveCode - Experienced Developers • Re: Scroll of...

Hello hrcap:Look in the Dictionary under the term: vScrollbarwith the association: BrowserIt shows the get and set commands for the Browser widget.Untested.FYI,BobStatistics: Posted by bobcole — Tue...

View Article

Getting Started with LiveCode - Experienced Developers • Web Standalone -...

I have waved the white flag on getting the signature widget to work on mobile. On mobile browsers, it leaves a dot smilar to a touchStart, but does not follow the finger when it moves, similar to a...

View Article


Getting Started with LiveCode - Complete Beginners • Re: Copy the Last Line...

Hi Richmond,I was searching for something else and ran across this post of yours. It reminded me of the time A buddy of mine and I wrote a program in Fortran to find a Knight's tour of the chessboard....

View Article

Image may be NSFW.
Clik here to view.

Talking LiveCode • Simple CSV to DataGrid Command

Hello LC friends,For those who are interested and want to have a simple way to add CSV file data to a datagrid you can use this code.I was in need of a very simple way to create a datagrid and add,...

View Article

Talking LiveCode • Re: Simple CSV to DataGrid Command

Paul.If I ever had to load a CSV file into anything at all, wouldn't it be simpler to replace comma with tab and just load? The CR's are still in the right place.I hear that CSV is sinister, in that...

View Article


Getting Started with LiveCode - Experienced Developers • orientationChanged...

According to the docs, "The orientationChanged message is sent before any automatic interface rotation takes place..." and "The resizeStack message is sent after the resizing is finished." But on my...

View Article


Linux • Frequent Crash of KDE Plasma from LiveCode

Hi again,Has anyone encountered an issue on KDE Plasma 6 where LiveCode seems to trigger a crash and restart of the shell? Like the taskbar, desktop and such disappear and are restarted for doing...

View Article

Getting Started with LiveCode - Experienced Developers • Web Standalone -...

I had an earlier post about the signature widget not working on a web standalone. But I do not think it's the widget that is the problem. It appears mouseDown is sent when the user first places their...

View Article

Games • Minimum Drawing Library Developments

Hi all,I am releasing a Minimum Drawing Library Test Suite and version 0.92 of the library. The library needs to be in the same directory as the test suite. (The test suite will load the library via...

View Article

Games • Re: Minimum Drawing Library Developments

Hi,Here is a teaser for the next iteration of the MDL library that implements transparency effects. In each demo, except the animation demo, you may move the Demo image by holding the mouse down over...

View Article


Getting Started with LiveCode - Experienced Developers • Livecode and Javascript

If I "do [below code] with "'javascript'":CODE: function add(a, b) { return a + b;}const res = add(5, 10);console.log(res); How do I get 15 in "the result"?What am I missing?Statistics: Posted by...

View Article

Getting Started with LiveCode - Experienced Developers • Re: Livecode and...

This simplification works:CODE: function add(a, b) { return a + b;}add(5, 10);The result value is then 15.Statistics: Posted by SWEdeAndy — Sat Mar 15, 2025 12:44 pm

View Article


Games • Re: Welcome to the games forum!

Erm?Bot?"Runtime Revolution"?Statistics: Posted by richmond62 — Sat Mar 15, 2025 1:54 pm

View Article
Browsing latest articles
Browse All 757 View Live