Search found 324 matches

by SWEdeAndy
Thu Jun 26, 2025 8:09 pm
Forum: HTML5
Topic: HTML5 modal focus not working
Replies: 5
Views: 3595

Re: HTML5 modal focus not working

I’m not entirely sure if my approach works in all situations Unfortunately, your approach does not work for modal stacks . The field is focused and the insertion beam is blinking, but when you start typing nothing enters the field. You still have to click it to make it receive key strokes. This is ...
by SWEdeAndy
Tue Jun 24, 2025 9:58 pm
Forum: HTML5
Topic: HTML5 modal focus not working
Replies: 5
Views: 3595

Re: HTML5 modal focus not working

OK, now I have updated code that works in all tested browsers (Firefox, Safari, Chrome). You can copy it directly from here: https://wheninspace.com/test/modal/ Implement it as in my first post. Note though, that modal generally does not work as expected in web deployment. The modal mode is supposed...
by SWEdeAndy
Mon Jun 23, 2025 9:34 pm
Forum: HTML5
Topic: HTML5 modal focus not working
Replies: 5
Views: 3595

Re: HTML5 modal focus not working

SWEdeAndy wrote:
Mon Jun 23, 2025 9:26 pm
Working example here: https://wheninspace.com/test/modal/
Ha, well, yeah, working in Firefox and Safari on Mac, and Safari on iOS. NOT working in Chrome on Mac.
So we're not quite done with this one yet.
I'll be back! :)
by SWEdeAndy
Mon Jun 23, 2025 9:26 pm
Forum: HTML5
Topic: HTML5 modal focus not working
Replies: 5
Views: 3595

Re: HTML5 modal focus not working

Hi igalperry, Ouf, it took the better part of an evening to trouble-shoot that one, but I (and ChatGPT) FINALLY found a solution that seems to work well. Only a physical tab key press seems able to actively shift the focus, and that can't be simulated as the browser prevents it. So it had to be a Ja...
by SWEdeAndy
Sat Jun 14, 2025 10:55 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: send "end mouseUp"
Replies: 7
Views: 3162

Re: send "end mouseUp"

Indeed! "Send" is a command and needs a handler name as argument. "exit mouseUp" is not, an can never be, a handler name.
by SWEdeAndy
Thu May 29, 2025 9:41 pm
Forum: Talking LiveCode
Topic: KeyUp message has disappeared.
Replies: 5
Views: 2370

Re: KeyUp message has disappeared.

That script works as intended for me, using LC10.0.1-rc-3 and 9.6.13-rc-1 on a Mac Studio running Sequoia 15.5.
by SWEdeAndy
Thu May 29, 2025 5:07 pm
Forum: Android Deployment
Topic: Android Keyboard - Using "Sentence" Option.
Replies: 17
Views: 6374

Re: Android Keyboard - Using "Sentence" Option.

I have in the past viewed a way to set the Android keyboard to a "Sentence" option. Essentially when a key is pressed, the character will automatically set the case to uppercase. I have searched the dictionary for "Keyboard" but can't seem to find the information I need. Search for autoCapitalizati...
by SWEdeAndy
Sun May 11, 2025 8:43 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Spotting a hyperlink?
Replies: 2
Views: 1303

Re: Spotting a hyperlink?

The styling handler: command processLinks pFieldToProcess,pWordToLinkStyle set the textStyle of word 1 to -1 of field pFieldToProcess to empty put field pFieldToProcess into tText lock screen put 0 into tStartSearchAt set the wholeMatches to true repeat put tokenOffset(pWordToLinkStyle, tText, tStar...
by SWEdeAndy
Wed May 07, 2025 8:00 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Livecode and Javascript
Replies: 9
Views: 3486

Re: Livecode and Javascript

What is the relevance of Javascript in a Livecode forum? It is of great relevance if you want to extend LiveCode's capabilities to things that is normally out of its scope. Since a long time, you've been able to run javascript in LiveCode by simply calling it through do [javascript code] with "java...
by SWEdeAndy
Fri Apr 11, 2025 4:21 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Browser widget and local files?
Replies: 8
Views: 2695

Re: Browser widget and local files?

This works perfectly well for me: answer file "Select file" set the URL of widget "MyBrowser" to "file:" & it If you still get a blank browser, then delete the browser widget and add a fresh one. It can get stuck somehow, especially if you've gone forth and back between setting the url and setting t...
by SWEdeAndy
Sat Mar 15, 2025 12:44 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Livecode and Javascript
Replies: 9
Views: 3486

Re: Livecode and Javascript

This simplification works:

Code: Select all

function add(a, b) {
    return a + b;
}

add(5, 10);
The result value is then 15.
by SWEdeAndy
Fri Mar 14, 2025 12:19 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Printing to PDF stops after some pages
Replies: 12
Views: 8717

Re: Printing to PDF stops after some pages

Well, I'm happy this solved it for Martin-HC's case, but I'm afraid it's not a complete workaround for all cases. As can be gleaned from the last sentence of my last comment on that bug report: "I've tried putting in a "wait x secs with messages" to give some breathing space, but that has not preven...
by SWEdeAndy
Sun Mar 09, 2025 4:04 pm
Forum: Talking LiveCode
Topic: Lost the ability to replace text in the SE
Replies: 4
Views: 4137

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.

find.png
find.png (15.84 KiB) Viewed 3447 times
by SWEdeAndy
Wed Jan 15, 2025 8:09 pm
Forum: Off-Topic
Topic: Can the 'common word' search term lists be edited?
Replies: 9
Views: 12166

Re: Can the 'common word' search term lists be edited?

Yes, it's probably simple statistics - words occurring above a certain frequency threshold would cause too many hits, which this ancient forum framework couldn't handle. But I find the search function generally crappy anyway, so I always just prepend a google search by "site:https://forums.livecode....
by SWEdeAndy
Sat Dec 21, 2024 3:11 pm
Forum: HTML5
Topic: [Ann] macOS-Style ColorPicker designed for the Web
Replies: 4
Views: 14300

Re: [Ann] macOS-Style ColorPicker designed for the Web

That's impressive work, Rolf!
Very handy in web deployments. Thanks a lot! :D