Search found 2550 matches

by stam
Mon Apr 15, 2024 12:15 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: get name of flashdrive.
Replies: 17
Views: 617

Re: get name of flashdrive.

This solution was proposed as a security measure but is not really secure… So whether drive letter or volume name or even knowing it is running from a USB drive using something like Linux’s usbUtils, this won’t prevent anyone from copying to usb and using anywhere/anyway. Hard to prevent that kind o...
by stam
Fri Apr 12, 2024 6:22 pm
Forum: iOS Deployment
Topic: Auto Focus On Edit Field
Replies: 8
Views: 420

Re: Auto Focus On Edit Field

In a similar situation, wait did not work for me - the field would still receive the focus. In the end I had the traversalOn of the field set to false by default and set to true on tabKey, mouseDown (on locked fields) and openField in unlocked fields; and had then to set it to false on closeField/ex...
by stam
Wed Apr 10, 2024 9:24 pm
Forum: Off-Topic
Topic: Dark Mode
Replies: 2
Views: 315

Re: Dark Mode

I suspect this may be part of the new LC 10 interface if/when that is finally released… I would hope so anyway, we can but wait’n’see…

Cross platform may be a challenge as I don’t think Windows handles dark mode as well as MacOS (or didn’t used to anyway).
by stam
Wed Apr 10, 2024 8:10 am
Forum: Off-Topic
Topic: A quick compliment for the livecode team
Replies: 8
Views: 266

Re: A quick compliment for the livecode team

Yes, agreed!!

Also not forgetting the original developers of HyperCard, who broke ground with the very concept of xTalk…
by stam
Mon Apr 08, 2024 5:13 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Issue with with images in arrays
Replies: 8
Views: 374

Re: Issue with with images in arrays

I should also add that if there is uncertainty about what long name/long id are, using the msgBox you can just type put the long name of image "sheep" & return & the long id of image "sheep" You'll see that unless using short name, the control type is prepended so in your case, you don't need to inc...
by stam
Mon Apr 08, 2024 4:43 pm
Forum: Talking LiveCode
Topic: An event trigger when data is added to a field
Replies: 15
Views: 595

Re: An event trigger when data is added to a field

Thanks for all the replies, appreciate it. The "dispatch" idea from Stam looks like my most likely solution. Sounds like everyone would really like a textChanged to be trigged when setting text by code. Seems logical to me. Hey Lance, Another variation of that, which I use a lot in groups, is to us...
by stam
Mon Apr 08, 2024 3:45 pm
Forum: Games
Topic: Wow Image object !!
Replies: 5
Views: 478

Re: Wow Image object !!

Hi Udi, really nice effort. I'm not sure the performance issues are due to your PowerPC though - I experience latency on an M2 Pro as well. This may be to do with the how the game loop is constructed (you seem to call moveBall twice before moveRacket and then twice more, every loop), which gives the...
by stam
Mon Apr 08, 2024 3:22 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Issue with with images in arrays
Replies: 8
Views: 374

Re: Issue with with images in arrays

put image sheep into animalarray[1] answer the short name of image sheep put animalarray[1] into temp answer the short name of temp I'd expect the the first two lines of code to be equivalent to the second two lines of code - but they aren't. The first two lines do what I'd expect ( they display th...
by stam
Sun Apr 07, 2024 3:55 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Hide tooltip instantly?
Replies: 15
Views: 572

Re: Hide tooltip instantly?

Actually the most important point is that we’re all learning, and this learning is permanently documented and available to subsequent users. As to why the same users keep responding - well that’s unfortunate. More should be. I am quite happy to watch from a distance if there are progressively better...
by stam
Sat Apr 06, 2024 5:08 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Hide tooltip instantly?
Replies: 15
Views: 572

Re: Hide tooltip instantly?

I want the tooltip to be visible... as long as the standalone is in the foreground. And that it hides when the standalone comes on the background (on suspend). A different approach may be to use suspendStack and resumeStack. If your app becomes the foreground app (resumeStack) you could populate to...
by stam
Fri Apr 05, 2024 10:57 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to make a clickable list?
Replies: 5
Views: 407

Re: How to make a clickable list?

You could also use the built-in treeView widget

Ooops - edited as Sparkout beat me to it lol
by stam
Fri Apr 05, 2024 12:03 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Text fields not displaying entered text
Replies: 2
Views: 217

Re: Text fields not displaying entered text

Great task for new users of liveCode and for current users this is straightforward. I thought I'd ask ChatGPT how to do this, to see where it's at with LC. I asked ChatGPT : create livecode script that asks user for their name and then generates a phrase "Hello <name>" in a field This is its conside...
by stam
Thu Apr 04, 2024 8:27 pm
Forum: Talking LiveCode
Topic: An event trigger when data is added to a field
Replies: 15
Views: 595

Re: An event trigger when data is added to a field

Between bringing Create, LC10, WASM and compiled scripts forward I doubt they would have the appetite to alter the language at this late stage... but I guess you never know.
by stam
Thu Apr 04, 2024 6:31 pm
Forum: Talking LiveCode
Topic: An event trigger when data is added to a field
Replies: 15
Views: 595

Re: An event trigger when data is added to a field

I've had this same issue and also posted this exact same question. Long and short of it is that there is no textChanged when setting text by code. What I did was I created a command in the field's script, and passed the new text as a parameter, eg on setFieldText pText set the text of me to pText //...
by stam
Thu Apr 04, 2024 6:22 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Datagrid : more examples
Replies: 6
Views: 6684

Re: Datagrid : more examples

Came across this completely by accident... such a great idea! I may well expand on this as the DG is probably one of the most versatile grids out there, for any language. Providing examples is not only the best advertisement for this but will also be helpful for those not familiar with the datagrid....

Go to advanced search