Home » Community » Newbie corner » Button text, background and click color (Newbie would like to change these colors ... and is frustrated.)
Button text, background and click color [message #59552] |
Mon, 30 January 2023 19:16  |
netdiver
Messages: 4 Registered: January 2023 Location: Berlin
|
Junior Member |
|
|
Dear U++ community,
I have just startet to use U++, so sorry for asking real newbie questions.
I can't find a way to change the colors of a button in a simple way.
I already tried the following: (on Windows 10)
myBtn.NakedStyle();
Button::Style foo;
foo.textcolor[0-4] = Color( 100, 100, 100 );
myBtn.SetStyle( foo );
Ok, I can change the main text color. But what about the hover and clicked color?
And is there also a way to change the background colors (normal, hover and clicked)?
Is there a struct with all these values? (Taht would be so much easier.)
All the best
NetDiver
|
|
|
|
Goto Forum:
Current Time: Tue May 13 14:35:29 CEST 2025
Total time taken to generate the page: 0.00837 seconds
|