
Setting Button color
Setting Button color
So I start the IDE, add a form then put a button on the form. How do I set the Button color? 

Re: Setting Button color
The changes of button colours are not supported by the operating system.
Search the forum for alternatives.
or
Search the forum for alternatives.
or
Code: Select all
If OpenWindow(0, 0, 0, 200, 60, "ButtonImageGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
If LoadImage(0, #PB_Compiler_Home + "/Examples/Sources/Data/PureBasic.bmp") ; change 2nd parameter to the path/filename of your image
ButtonImageGadget(0, 10, 10, 180, 50, ImageID(0))
EndIf
Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow
EndIf
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive