Changing the color of the OK Button

Hello,
is there a way to change the color of the default button (or any other button)?

Thank you

Not really. If a colored button is necessary most people use a BevelButton (some problems with it on some platforms) or create their own using a canvas.

at windows 10 the native default button have only a blue border.
BevelButton have colors as Dale said.

i made a video of a image button with the use of canvas but it is not in english yet.
the first 5 minutes.
10. Canvas
documentation.xojo.com/api/graphics/textshape.html
documentation.xojo.com/api/graphics/roundrectshape.html

Last time I checked, the HIG does not talk about this kind of interface…

Do you really want to do that (and a yellow PopupMenu, a two colors Radio-Button, etc.). :frowning:

Of course, your GUI.

No, I don’t intend to change any GUI standard. I was just curious if there was a way to do it since I could not find anything on the subject.

Thanks everybody

You can create your own using a Canvas as base Class.

Also, some people have asked about window Red title area (and I saw one long time after I read the question).

For beta tracking, I set the color of all the windows background to a different color (easier to report than a numeric value: “I have a bug in the blue window version…”)