Search found 181 matches

by rndrei
Mon Oct 27, 2025 8:17 pm
Forum: Mac OSX
Topic: Mouse Icon
Replies: 0
Views: 81

Mouse Icon

How can I disable the cursor icon above editorgadget() and put my own icon?
Here is an example of Shardik, but when you hover over editorgadget, it becomes standard.


Define Hotspot.NSPoint
OpenWindow(0, 200, 100, 290, 300, "Display custom cursor")
ButtonGadget(0, WindowWidth(0) / 2 - 120, 40, 240 ...
by rndrei
Sun Oct 26, 2025 12:43 pm
Forum: Coding Questions
Topic: Disable standart PopupMenu
Replies: 3
Views: 162

Re: Disable standart PopupMenu

Great, that's what you need!
by rndrei
Sun Oct 26, 2025 4:42 am
Forum: Coding Questions
Topic: Disable standart PopupMenu
Replies: 3
Views: 162

Disable standart PopupMenu

How to disable pupupmenu standard in editorgadget()?
by rndrei
Sat Oct 25, 2025 7:14 am
Forum: Mac OSX
Topic: Module TableView Colors (ListViewGadget and ListIconGadget)
Replies: 11
Views: 10943

Re: Module TableView Colors (ListViewGadget and ListIconGadget)

Doesn't work, doesn't display text!? (MacOS 15.7)
Image
by rndrei
Fri Oct 24, 2025 11:37 am
Forum: Coding Questions
Topic: PB_Key_Colon
Replies: 7
Views: 261

Re: PB_Key_Colon

Figured it out, thank you!
by rndrei
Thu Oct 23, 2025 10:28 pm
Forum: Coding Questions
Topic: PB_Key_Colon
Replies: 7
Views: 261

PB_Key_Colon

How do I know if the colon key is pressed?
it's not work!
OpenWindow(0,0,0,200,200,"colon pushed")
Repeat
Event = WaitWindowEvent()
Select Event
Case #PB_Key_Colon
Debug "pressed [:]"
Case #PB_Event_CloseWindow
End
EndSelect
ForEver
by rndrei
Tue Oct 21, 2025 1:27 am
Forum: Coding Questions
Topic: Line draw canvas
Replies: 11
Views: 497

Re: Line draw canvas

It"s work!
My screen resolution is 2560 × 1664
by rndrei
Mon Oct 20, 2025 6:51 pm
Forum: Coding Questions
Topic: Line draw canvas
Replies: 11
Views: 497

Re: Line draw canvas

It's the same with your example, the red line stops on half of the window!?
Image
by rndrei
Mon Oct 20, 2025 6:08 pm
Forum: Coding Questions
Topic: Line draw canvas
Replies: 11
Views: 497

Re: Line draw canvas

Thank you for the example, it works! I still don't understand why my code doesn't work?
by rndrei
Mon Oct 20, 2025 4:24 pm
Forum: Coding Questions
Topic: Line draw canvas
Replies: 11
Views: 497

Line draw canvas

Why Line(0, 1, WindowWidth(#WIN),1, #Black) draws a line on the floor of the window, and should on the entire width of the window!?
#win=100
#CANVAS=101

Procedure DrawStatus(p)
StartDrawing(CanvasOutput(p))
Line(0, 1, WindowWidth(#WIN),1, #Black)
DrawingFont(FontID(20))
DrawText(0, 0, "test ...
by rndrei
Wed Oct 08, 2025 1:03 pm
Forum: Mac OSX
Topic: Change Theme
Replies: 7
Views: 1389

Re: Change Theme

I found an example on the forum, I can't figure out why it doesn't show in the dark theme icons to To fold, to unfold?

Enumeration CGWindowLevelKey
#kCGFloatingWindowLevelKey
EndEnumeration

#NSFloatingWindowLevel = #kCGFloatingWindowLevelKey
#NSBorderlessWindowMask = 0
#NSTitledWindowMask = 1 ...
by rndrei
Wed Oct 08, 2025 8:48 am
Forum: Mac OSX
Topic: Scintilla scrollbar
Replies: 2
Views: 896

Re: Scintilla scrollbar

Why doesn't it work?
#SCI_SETSCROLLTRACK = 2265
#SCI_SETSCROLLTHUMB = 2266
#SCI_SETSCROLLARROW = 2264
#SC=10
If OpenWindow(0, 200, 200, 520, 500, "change color scrollbar" ,#PB_Window_SystemMenu | #PB_Window_MinimizeGadget | #PB_Window_MaximizeGadget)
ScintillaGadget(#SC, 0, 0,200, 200, #Null ...
by rndrei
Fri Oct 03, 2025 4:38 pm
Forum: Coding Questions
Topic: OptionGadget color
Replies: 2
Views: 384

Re: OptionGadget color

Thank you, everything works, and on macOS 15.6
by rndrei
Fri Oct 03, 2025 4:34 pm
Forum: Mac OSX
Topic: Listviewgadget active frame
Replies: 4
Views: 620

Re: Listviewgadget active frame

:D, good interface, also a very important thing!
by rndrei
Fri Oct 03, 2025 8:10 am
Forum: Mac OSX
Topic: Listviewgadget active frame
Replies: 4
Views: 620

Re: Listviewgadget active frame

Yes, everything works. Thank you!