SetBackGroundColor works, changes the background color, but setTextColor gives an error ([ERROR] Object does not respond to method "setTextColor:")
How to find out the name of the text color method from ExplorerTreeGadget?
If OpenWindow(0, 0, 0, 322, 340, "StringGadget", #PB_Window_SystemMenu | #PB ...
Search found 202 matches
- Mon Jan 26, 2026 7:59 pm
- Forum: Mac OSX
- Topic: ExplorerTreeGadget color
- Replies: 8
- Views: 911
- Mon Dec 22, 2025 10:08 am
- Forum: Mac OSX
- Topic: ExplorerTreeGadget color
- Replies: 8
- Views: 911
ExplorerTreeGadget color
How to set the text color to the gadget?
This code doesn't work!
If OpenWindow(0, 0, 0, 300, 300, "ExplorerTreeGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
ExplorerTreeGadget(0, 10, 10, 280, 280, "*.pb;*.pbi")
SetGadgetColor(0,#PB_Gadget_FrontColor,#Red)
Repeat : Until ...
This code doesn't work!
If OpenWindow(0, 0, 0, 300, 300, "ExplorerTreeGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
ExplorerTreeGadget(0, 10, 10, 280, 280, "*.pb;*.pbi")
SetGadgetColor(0,#PB_Gadget_FrontColor,#Red)
Repeat : Until ...
- Tue Dec 16, 2025 6:32 pm
- Forum: Mac OSX
- Topic: Question about the display
- Replies: 3
- Views: 627
Question about the display
How can I find out what mode the screen has? (Extended, mirror)
- Thu Nov 20, 2025 7:42 pm
- Forum: Mac OSX
- Topic: Scintilla scrollbar
- Replies: 14
- Views: 2212
Re: Scintilla scrollbar
I'm testing Purebasic 6.30 now, but at 6.21 it's the same problem! Maybe transfer the topic to bugs or to future developments?
- Thu Nov 20, 2025 5:07 pm
- Forum: Feature Requests and Wishlists
- Topic: #PB_Gadget_BorderLess
- Replies: 8
- Views: 2524
Re: #PB_Gadget_BorderLess
Thank you for your help, everything works!
- Thu Nov 20, 2025 3:05 pm
- Forum: Mac OSX
- Topic: Scintilla scrollbar
- Replies: 14
- Views: 2212
Re: Scintilla scrollbar
Maybe in version 6.30 Purebasic will update scintilla, and in Tahoe it will work fine?!
- Wed Nov 19, 2025 8:35 pm
- Forum: Coding Questions
- Topic: ButtonImageGadget background deleted
- Replies: 9
- Views: 769
Re: ButtonImageGadget background deleted
It's work! Thank's!
- Wed Nov 19, 2025 4:54 pm
- Forum: Mac OSX
- Topic: Borderless mini icon
- Replies: 8
- Views: 1584
Re: Borderless mini icon
Fine works! Thank's!
- Wed Nov 19, 2025 8:01 am
- Forum: Coding Questions
- Topic: ButtonImageGadget background deleted
- Replies: 9
- Views: 769
Re: ButtonImageGadget background deleted
It's probably a bug? (MacOS 26.1)
Piero,
I don't know, but I like programs with a beautiful interface!
Piero,
- Tue Nov 18, 2025 3:43 pm
- Forum: Coding Questions
- Topic: ButtonImageGadget background deleted
- Replies: 9
- Views: 769
Re: ButtonImageGadget background deleted
Doesn't work, the same! I changed the code for simplicity, it doesn't work, the color remains gray!?
OpenWindow(0, 0,0,300,300, "image_button",#PB_Window_MaximizeGadget|#PB_Window_MinimizeGadget)
UsePNGImageDecoder()
LoadImage(3,#PB_Compiler_Home + "examples"+#PS$+"sources"+#PS$+"Data"+#PS$+"world ...
OpenWindow(0, 0,0,300,300, "image_button",#PB_Window_MaximizeGadget|#PB_Window_MinimizeGadget)
UsePNGImageDecoder()
LoadImage(3,#PB_Compiler_Home + "examples"+#PS$+"sources"+#PS$+"Data"+#PS$+"world ...
- Tue Nov 18, 2025 3:05 pm
- Forum: Coding Questions
- Topic: ButtonImageGadget background deleted
- Replies: 9
- Views: 769
Re: ButtonImageGadget background deleted
The background is transparent, the picture is 64x64 and the button is 128x128 and the background is darker at the edges of the button, how to change it?
- Tue Nov 18, 2025 2:52 pm
- Forum: Coding Questions
- Topic: ButtonImageGadget background deleted
- Replies: 9
- Views: 769
ButtonImageGadget background deleted
How to remove the background of the button if the icon is smaller than the button itself? (MacOS)
https://i.ibb.co/ynqD4N52/2025-11-18-16-47-48.png OpenWindow(0, 0,0,100,100, "image_button",#PB_Window_MaximizeGadget|#PB_Window_MinimizeGadget)
UsePNGImageDecoder()
LoadImage(3,"icon.png ...
https://i.ibb.co/ynqD4N52/2025-11-18-16-47-48.png OpenWindow(0, 0,0,100,100, "image_button",#PB_Window_MaximizeGadget|#PB_Window_MinimizeGadget)
UsePNGImageDecoder()
LoadImage(3,"icon.png ...
- Sat Nov 15, 2025 1:09 pm
- Forum: Mac OSX
- Topic: Borderless mini icon
- Replies: 8
- Views: 1584
Re: Borderless mini icon
And how to remove the standard buttons from the window to close to minimize to maximize, but to save the parameter #PB_Window_SizeGadget ???
- Sat Nov 15, 2025 12:29 pm
- Forum: Mac OSX
- Topic: Borderless mini icon
- Replies: 8
- Views: 1584
Re: Borderless mini icon
Fine! Thank's!
- Sat Nov 15, 2025 11:54 am
- Forum: Mac OSX
- Topic: Borderless mini icon
- Replies: 8
- Views: 1584
Re: Borderless mini icon
The link is broken!