Search found 37 matches

by bamakojeff
Mon Apr 20, 2026 4:50 am
Forum: Talking LiveCode
Topic: Checking Code in Scripts
Replies: 0
Views: 81

Checking Code in Scripts

I've been wanting to do a series of checks on my code like making sure that all queries are parameterized, database calls are checked for success or failure, etc. I started by searching for every "revDataFromQuery" (for example) in the code and then going to that script and checking it manually, but...
by bamakojeff
Mon Apr 20, 2026 4:40 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Displaying HTML in DataGrid (table mode) – supported or not?
Replies: 4
Views: 158

Re: Displaying HTML in DataGrid (table mode) – supported or not?

I do not believe that you can do this in Table mode for a DataGrid. But you can definitely do it in Form mode. Since you put "normal" livecode fields into a form, in your datagrid script to populate the form, you can assign the htmltext of the field just like you can any livecode field. So if the fi...
by bamakojeff
Tue Feb 24, 2026 11:43 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: split screen on mobile
Replies: 0
Views: 5060

split screen on mobile

Has anyone done any work on how to make a mobile app properly use split screen? I have a mobile app (Livecode 10) that works well on iOS and Android. It uses "the effective working screenrect" to get the size of the screen and resizes appropriately. "the effective working screenrect" gets the dimens...
by bamakojeff
Fri Jan 02, 2026 6:34 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Samsung Remote Test Lab
Replies: 0
Views: 7166

Samsung Remote Test Lab

Has anyone used Samsung's Remote Test Lab to test a Livecode Android app? (https://developer.samsung.com/remote-test-lab) I just discovered it, and it seems like a nice service. It's free for Samsung Developers (which is also free to sign up for), and it lets you upload your app over the internet to...
by bamakojeff
Thu May 22, 2025 5:30 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Test ADB install fails when done over published app
Replies: 6
Views: 43654

Re: Test ADB install fails when done over published app

Part of the legal arguments that Apple made in their case against Epic defending their exorbitant cut of all profits from apps distributed through the App Store was that they are providing a "valuable service" to users and developers by insuring that no malicious actor could ever counterfeit an app ...
by bamakojeff
Thu May 22, 2025 7:07 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Test ADB install fails when done over published app
Replies: 6
Views: 43654

Re: Test ADB install fails when done over published app

I *think* this is intentional. When you install an app from an app store (Apple or Google), the app store makes it impossible to install an identically named app which did not come as a legitimate update from them. So the various app stores cryptographically sign apps that you upload to them for ins...
by bamakojeff
Wed May 21, 2025 12:40 am
Forum: iOS Deployment
Topic: using a dylib in an iOS app
Replies: 1
Views: 25414

using a dylib in an iOS app

I am trying to get the external .dylib file from the following project working in an iOS app: https://github.com/trevordevore/iosclipboard The included "iosclipboard.livecode" project makes it seem very simple. It includes the .dylib file in the "Copy Files" section of the Standalone Application Set...
by bamakojeff
Mon May 12, 2025 2:20 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: DataGrid Native Scrollers
Replies: 0
Views: 40015

DataGrid Native Scrollers

I'm posting this here because it took me a while to figure all this out from a number of different sources. And inevitably, I will need this information in the future but have forgotten it. So I am doing my future self a favor by putting it into the forum in one place so when I search for "datagrid ...
by bamakojeff
Wed Mar 26, 2025 6:12 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Dialog box opens up behind systemWindow stack
Replies: 12
Views: 31453

Re: Dialog box opens up behind systemWindow stack

I believe that it's a problem with the backdrop (View->Backdrop) on Windows. When you bring up a modal dialog box (one that is meant to stay on top), they appear behind the backdrop. Hence you can't see them. But you can bring them to the foreground by clicking on the Livecode icons in the dock, or ...
by bamakojeff
Thu Mar 13, 2025 3:23 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: orientationChanged vs. resizeStack on iPhone
Replies: 0
Views: 48723

orientationChanged vs. resizeStack on iPhone

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 iPhone 12, at least, I am seeing "weirdness". I have the following code: on orientationChanged log "o...
by bamakojeff
Mon Mar 10, 2025 5:55 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: does "set the screenmouseLoc" work on mobile?
Replies: 7
Views: 39855

Re: does "set the screenmouseLoc" work on mobile?

I'm happy to report that "click" works fine on all platforms, at least for what I need. I get the top-left corner of the field, add in the margins, and I can click right at the first character of the first line. Once the program has "clicked" there, I can get all the information that I need from "mo...
by bamakojeff
Fri Mar 07, 2025 5:09 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: does "set the screenmouseLoc" work on mobile?
Replies: 7
Views: 39855

Re: does "set the screenmouseLoc" work on mobile?

I'm trying to use Craig's very clever solution to an earlier problem of mine by using "set the screenMouseLoc" and then "scanning" along the text to find out when the background color changes. https://forums.livecode.com/viewtopic.php?f=8&t=38975&start=15#p228699 It works flawlessly on Desktop. But ...
by bamakojeff
Thu Mar 06, 2025 9:42 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: does "set the screenmouseLoc" work on mobile?
Replies: 7
Views: 39855

does "set the screenmouseLoc" work on mobile?

I have a stack with a field "text" and a button. (The stack is attached.) The button has the following code in it: on mouseup local tTopLeft put the globalloc of the topleft of fld "text" into tTopLeft set itemdel to comma add the margins of fld "text" to item 1 of tTopLeft add (the effective texthe...
by bamakojeff
Fri Feb 21, 2025 9:36 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: backgroundcolor for transparent images
Replies: 2
Views: 44260

Re: backgroundcolor for transparent images

Two excellent suggestions, Klaus. I did try them both when working on this problem, and I just tried them again to be sure. Unfortunately, no luck. The background of the transparent image stubbornly always shows the field's bgcolor, not the character's.

Thanks for tossing some ideas out.

Jeff
by bamakojeff
Fri Feb 21, 2025 8:34 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: backgroundcolor for transparent images
Replies: 2
Views: 44260

backgroundcolor for transparent images

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 backgroundcolor shows through. This also works correctly if I use the "set imagesource" command to replace a ch...