Search found 2557 matches

by stam
Fri Apr 26, 2024 6:42 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Palettising a main stack.
Replies: 9
Views: 225

Re: Palettising a main stack.

Best of all, the style property is persistent. Set it once, save it, and that's the mode it'll open in forever. Sure. However sometimes it’s of value to do this conditionally, especially especially when working on the stack. For example, prefixing that statement with if the optionKey is not down th...
by stam
Fri Apr 26, 2024 6:19 am
Forum: Windows
Topic: SQL Query error when a String has double quote
Replies: 3
Views: 94

Re: SQL Query error when a String has double quote

Please post the code that is causing the error… more than likely this will be a simple fix.
by stam
Fri Apr 26, 2024 5:58 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Palettising a main stack.
Replies: 9
Views: 225

Re: Palettising a main stack.

Well, more complicated than I thought. If your handler is in the stack script, it does not work. The openStack handler fires but nothing happens. But if it is this in the stack script: on mouseUp palette me end mouseUp it work fine if you click on the card window. Craig I’ve always used Set the sty...
by stam
Thu Apr 25, 2024 2:41 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Exporting SVG images?
Replies: 8
Views: 220

Re: Exporting SVG images?

is SVG not just a text file? (albeit a specially formatted one?)
by stam
Mon Apr 22, 2024 2:32 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Unable to build Windows standalone
Replies: 3
Views: 180

Re: Unable to build Windows standalone

richmond62 wrote:
Mon Apr 22, 2024 1:31 pm
Do you have Administrator privileges?
No.
I did mention the machine was locked down - so no admin access. Otherwise it wouldn't be locked down would it ;)
UAC set to same as invoker - so should not be issue and I've built on this before without problems...
by stam
Mon Apr 22, 2024 1:02 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Unable to build Windows standalone
Replies: 3
Views: 180

Unable to build Windows standalone

Hi all, I have installed LC on my work machine (Windows 10, heavily secured by my hospital, so the issue may be there). LC runs and works fine. However I cannot build for Windows as it keeps throwing the same error: LC build error.jpg This happens in both LC 9.6.9 and 10 DP7. It happens regardless o...
by stam
Sat Apr 20, 2024 8:52 am
Forum: Talking LiveCode
Topic: Security Issue Related to Decompilation in LiveCode
Replies: 13
Views: 643

Re: Security Issue Related to Decompilation in LiveCode

This is an important and recurring topic and clearly a potential risk for newer users. I know there’s been a blog post on this but what it really needs is an in-depth lesson showing best practices for common scenarios (password hashing, API keys etc). The lesson needs to be good enough that new user...
by stam
Mon Apr 15, 2024 12:15 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: get name of flashdrive.
Replies: 19
Views: 913

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: 517

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: 347

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: 335

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: 434

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: 749

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: 698

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: 434

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...

Go to advanced search