Search found 124 matches

by PBH
Mon Aug 11, 2025 3:49 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Freeing Memory
Replies: 9
Views: 1396

Re: Freeing Memory

'flushEvents' is in the dictionary, it should show up when you search for 'flush', I'm not totally sure that would help in this case, but I could be wrong. :idea: Just a thought, are you using 'open printing to PDF' and then using 'close printing' once the PDF is sent to the printer? If you are not ...
by PBH
Tue Apr 22, 2025 7:39 pm
Forum: Talking LiveCode
Topic: Cannot use a menu
Replies: 23
Views: 39593

Re: Cannot use a menu

Pleased to help, sometimes all it takes is a fresh pair of eyes, I think we've all been there!

The Message Watcher is frustrating at times, but it usually gets me out of bother when I mess up. :)

Paul
by PBH
Tue Apr 22, 2025 6:56 pm
Forum: Talking LiveCode
Topic: Cannot use a menu
Replies: 23
Views: 39593

Re: Cannot use a menu

Fixed in a couple of minutes… To track the problem in this stack I activated the Message Watcher. The Message Watcher indicated the Mouse Down message was being intercepted by the Card Script line 43 I changed the handler from 'on mousedown' to 'after mousedown' and the menu subsequently worked! Alt...
by PBH
Fri Feb 14, 2025 8:16 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Polygrid data corruption?
Replies: 9
Views: 14707

Re: Polygrid data corruption?

I have used the PolyGrid in multiple projects now and I’ve found it to be very useful and reliable. The only time I’ve seen any type of corruption was if I tried to import unsuitable data. I have only deleted columns on a few occasions and I did’t see any problems at the time, but that was from a re...
by PBH
Sun Dec 03, 2023 1:38 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Color to Black & White
Replies: 34
Views: 151173

Re: Color to Black & White

John,

Check out this lesson from LiveCode;

https://lessons.livecode.com/m/4071/l/2 ... -grayscale

It looks like it should help you.

Paul
by PBH
Thu Nov 23, 2023 4:23 pm
Forum: Talking LiveCode
Topic: Field with placeholder/hint text
Replies: 29
Views: 84322

Re: Field with placeholder/hint text

Stam, Out of curiosity I played with this for a short while, I made the following changes targeting the field's autoHilite and it seems to work as far as I can tell, but obviously you'll need to test thoroughly as there may be other scenarios where you need to set the autoHilite to true or false. Ho...
by PBH
Wed Nov 15, 2023 2:31 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: livecode and the iOS clipboard
Replies: 2
Views: 6375

Re: livecode and the iOS clipboard

I came across this a few years ago and IIRC this is an Apple issue, not a LiveCode issue. I believe it’s to do with the tighter security on iOS so the developer doesn’t have any control over the clipboard, only the end user (and probably Apple) has that privilege. I must admit though that I haven’t ...
by PBH
Sun Nov 12, 2023 4:14 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Magic pallete error
Replies: 2
Views: 7607

Re: Magic pallete error

I have seen this error, it was a while ago now, but I’m pretty sure it went away by installing the latest update which you should find available in your LC account.

Paul
by PBH
Wed Aug 16, 2023 5:55 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Am I screwed? iOS 16.6 and livecode 10.0.0.5(dp)
Replies: 3
Views: 11272

Re: Am I screwed? iOS 16.6 and livecode 10.0.0.5(dp)

It is possible, I can build with both LC 9.6.9 and LC 10.0.0-dp5 using Xcode 14.2, then upload to iPhone and iPad, both running on iOS16.6 while using Xcode 14.2 or 14.3.1 just for the upload. My advice would be to make sure your Apple Developer account is fully up-to-date, including the list of reg...
by PBH
Sat Feb 04, 2023 5:15 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Place unSubscribe button on an email
Replies: 6
Views: 6598

Re: Place unSubscribe button on an email

I don’t see this as a LiveCode problem, (afaik) you can’t just add a LC button to an email message even if the email is generated using LC, however, you can add a formatted link in most email apps, the following should work if you can embed it… mailto:you@youremail.com?subject=Unsubscribe%20=Please%...
by PBH
Tue Sep 27, 2022 6:08 am
Forum: Bug Triage
Topic: MacOS Sheets not working?
Replies: 17
Views: 7755

Re: MacOS Sheets not working?

stam wrote:
Tue Sep 27, 2022 1:01 am
Is this expected behaviour?
If not, i'll submit a bug report - grateful for views on this,
I would say this is not the expected behaviour, I am seeing exactly the same result on macOS and LC9.6.8 as well as LC10.0.0 (dp4).

So yes, I think you should report this as a bug. :)

Paul
by PBH
Tue May 17, 2022 3:55 am
Forum: Talking LiveCode
Topic: What was lost, now is found
Replies: 2
Views: 2872

Re: What was lost, now is found

The "Apply" button compiles with a click of the mouse without having to save the stack. Just a side note for anyone that didn't know, the 'Enter' key also complies the script, whereas the 'Return' key doesn't. If you don't have an extended keyboard, then CMD-Return does the same, I assume that woul...
by PBH
Wed Feb 16, 2022 6:57 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: draggable image
Replies: 29
Views: 17113

Re: draggable image

A while ago, I used a sample stack by Peter Haworth on the LiveCode Share site, it explains pretty well how to do exactly what you are asking. It works on the same stack or between stacks.

Link here: https://livecodeshare.runrev.com/stack/614/DragExample

Paul
by PBH
Sat Jan 29, 2022 4:15 am
Forum: Talking LiveCode
Topic: [ANN] Open Source Offering
Replies: 5
Views: 5508

Re: [ANN] Open Source Offering

Thank you Scott,

That's an awesome gift for the LC community. :D

Always loved your work and learned quite a few (useful) things from you in the past.

Regards,

Paul
by PBH
Fri Jul 02, 2021 1:20 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Buttons through which i can see desktop
Replies: 9
Views: 7346

Re: Buttons through which i can see desktop

I'm not sure you can make just the buttons transparent, but you can use an image to determine which areas of a stack are transparent, see this lesson for details: https://lessons.livecode.com/m/4071/l/6867-how-to-make-a-stack-with-a-window-shape You can also use the colors tab of the stack inspector...