Search found 143 matches

by mrbungle
Sat Jan 24, 2026 4:00 pm
Forum: Mac OSX
Topic: OpenWindowedScreen() and alpha transparency
Replies: 1
Views: 137

Re: OpenWindowedScreen() and alpha transparency

Confirmed on macOS 15.73 (Seqouia)
by mrbungle
Wed Dec 17, 2025 1:56 am
Forum: Bugs - Mac OSX
Topic: No color in string gadget
Replies: 1
Views: 407

Re: No color in string gadget

Not on Tahoe, but 15.73 with the macOS 26 SDK and see all three gadgets red
by mrbungle
Sun Dec 07, 2025 2:38 pm
Forum: Mac OSX
Topic: Show Emoji picker
Replies: 5
Views: 1002

Re: Show Emoji picker

Looks good, thank you for the addition.
by mrbungle
Wed Dec 03, 2025 5:44 pm
Forum: Coding Questions
Topic: Enable FTS in SQLite
Replies: 2
Views: 383

Re: Enable FTS in SQLite

Great, it might be how I attempted to access it. Good to know.
by mrbungle
Wed Dec 03, 2025 2:49 pm
Forum: Coding Questions
Topic: Enable FTS in SQLite
Replies: 2
Views: 383

Enable FTS in SQLite

Is it possible to use sqlite3's FTS capability in PB? It is not enabled by default and some of my use cases could benefit from it. I'd like a cross-platform example if it is possible to enable it.

Thank you in advance.
by mrbungle
Sat Nov 29, 2025 5:12 pm
Forum: Mac OSX
Topic: Show Emoji picker
Replies: 5
Views: 1002

Show Emoji picker


Procedure ShowEmojiPicker()
Protected NSApp = CocoaMessage(0, 0, "NSApplication sharedApplication")
If NSApp
CocoaMessage(0, NSApp, "orderFrontCharacterPalette:")
EndIf
EndProcedure


If OpenWindow(0, 0, 0, 400, 200, "Emoji Picker", #PB_Window_SystemMenu | #PB_Window_ScreenCentered ...
by mrbungle
Mon Nov 17, 2025 12:50 pm
Forum: Mac OSX
Topic: Detecting Reduced Transparency
Replies: 0
Views: 933

Detecting Reduced Transparency

For years, I ran my Mac with a white menu bar, but the default is actually to have transparency enabled. There are differences, particularly with images and icons, so here's a way of detecting a user's environment and whether they have reduced transparency enabled or not:


Procedure.b ...
by mrbungle
Mon Nov 17, 2025 12:44 pm
Forum: Mac OSX
Topic: NSPopOver Functions
Replies: 3
Views: 1067

Re: NSPopOver Functions

NOTE: The NSPopOver is basically all Cocoa, so you can't use native PB Gadgets in it
by mrbungle
Thu Nov 13, 2025 12:46 pm
Forum: Announcement
Topic: Musicbox - The Virtual Punch Tape Editor
Replies: 9
Views: 2239

Re: Musicbox - The Virtual Punch Tape Editor

That is pretty neat!
by mrbungle
Wed Nov 12, 2025 9:18 pm
Forum: Mac OSX
Topic: NSPopOver Functions
Replies: 3
Views: 1067

Re: NSPopOver Functions

Nice!
by mrbungle
Wed Nov 12, 2025 12:55 pm
Forum: Mac OSX
Topic: NSPopOver Functions
Replies: 3
Views: 1067

NSPopOver Functions

This is a set of functions for NSPopOver functions:


#NSMaxYEdge = 2 ; 0-3 change the orientation

Global popover = 0
Global vc = 0
Global contentView = 0
Global label = 0

; Create
Procedure.i CreateContentView(width, height)
Protected rect.NSRect
rect\origin\x = 0 : rect\origin\y = 0
rect ...
by mrbungle
Tue Nov 11, 2025 7:32 pm
Forum: Mac OSX
Topic: Scintilla scrollbar
Replies: 14
Views: 2046

Re: Scintilla scrollbar

Because Tahoe has been a bit glitchy. A lot of UI controls have changed, including button bezels and sizes. It is Apple's Vista.
by mrbungle
Tue Nov 11, 2025 1:51 pm
Forum: Mac OSX
Topic: Scintilla scrollbar
Replies: 14
Views: 2046

Re: Scintilla scrollbar

Which macOS are you using? The output looked normal on macOS Sequoia. Tahoe is a crapshoot.
by mrbungle
Sun Nov 02, 2025 4:05 pm
Forum: Coding Questions
Topic: Mac shortcuts (b4)
Replies: 3
Views: 715

Re: Mac shortcuts (b4)

I had an issue since 6.00 where placing keyboard shortcuts in the menu bar get truncated, so i wrote a macro to fix it. perhaps this will help:

Macro MenuKey(sk)
If Len(sk) = 1
sk = InsertString(sk, "+", 1)
ElseIf Len(sk) = 2
sk = InsertString(sk, "+", 1)
sk = InsertString(sk, "+", 2)
ElseIf ...
by mrbungle
Thu Oct 30, 2025 12:37 pm
Forum: Mac OSX
Topic: Native Open URL
Replies: 2
Views: 2432

Re: Native Open URL

You're welcome