Hello,
it would be very cool, if it's possible to set the background- and front-color for option-gadgets and checkbox-gadgets. Currently the look is different in Windows and Mac. In Windows, the gadget is always filled with the system background, that's not very beautiful in a colored window. In Mac the background is transparent, but the font-color is always the system-color.
SetGadgetColor for OptionGadget and CheckBoxGadget
- stefanpape
- User
- Posts: 14
- Joined: Sun Aug 04, 2013 11:12 am
Re: SetGadgetColor for OptionGadget and CheckBoxGadget
Setting colours is limited differently by different OSes. On Windows you can use callbacks, but you'd have to take care for repainting. Search for ChrisD's ObjectTheme in the forum, this should fulfill your needs.
Good morning, that's a nice tnetennba!
PureBasic 6.21/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/DX517, 130.9TB+50.8TB+2TB SSD
PureBasic 6.21/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/DX517, 130.9TB+50.8TB+2TB SSD
Re: SetGadgetColor for OptionGadget and CheckBoxGadget
ChrisRjacdelad wrote: Sat May 17, 2025 10:19 am Setting colours is limited differently by different OSes. On Windows you can use callbacks, but you'd have to take care for repainting. Search for ChrisD's ObjectTheme in the forum, this should fulfill your needs.
viewtopic.php?t=82890
- It was too lonely at the top.
System : PB 6.21(x64) and Win 11 Pro (x64)
Hardware: AMD Ryzen 9 5900X w/64 gigs Ram, AMD RX 6950 XT Graphics w/16gigs Mem
System : PB 6.21(x64) and Win 11 Pro (x64)
Hardware: AMD Ryzen 9 5900X w/64 gigs Ram, AMD RX 6950 XT Graphics w/16gigs Mem
Re: SetGadgetColor for OptionGadget and CheckBoxGadget
Yes, ChrisR, not ChrisD. 

Good morning, that's a nice tnetennba!
PureBasic 6.21/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/DX517, 130.9TB+50.8TB+2TB SSD
PureBasic 6.21/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/DX517, 130.9TB+50.8TB+2TB SSD