Harry Bego 0 Posted November 15, 2021 I’m finding that under Windows 11 unstyled checkboxes and radio buttons have a solid blue color when checked = true. Is there a way to prevent this and have them look the same as in Windows 10? Using C++Builder 10.4.2. Thanks for any hints! Share this post Link to post
Harry Bego 0 Posted November 15, 2021 I've attached two images so you can see the difference. The left one is from Windows 11, the right one from Windows 10: Share this post Link to post
Stano 143 Posted November 15, 2021 This is a matter of OS and the great innovation of W11. As you can see, this can only be changed using themes. Share this post Link to post
David Heffernan 2345 Posted November 15, 2021 Isn't the entire point of the system theme that there is system wide consistency? 5 Share this post Link to post
Attila Kovacs 629 Posted November 15, 2021 (edited) 4 minutes ago, David Heffernan said: Isn't the entire point of the system theme that there is system wide consistency? Edited November 15, 2021 by Attila Kovacs Share this post Link to post
Harry Bego 0 Posted November 16, 2021 16 hours ago, Stano said: This is a matter of OS and the great innovation of W11. As you can see, this can only be changed using themes. The issue is unrelated to themes. It’s the same in all themes. Looks like it is a similar thing to what we saw initially in listviews in Windows 10: selected items had a solid blue background. Share this post Link to post
David Heffernan 2345 Posted November 16, 2021 1 hour ago, Harry Bego said: The issue is unrelated to themes. It’s the same in all themes. Looks like it is a similar thing to what we saw initially in listviews in Windows 10: selected items had a solid blue background. In this case I don't understand what you are saying. I thought you wanted to override the default system theme. But it seems I misunderstood you. Share this post Link to post
Sherlock 663 Posted November 16, 2021 Is that only in your Delphi application or in all applications? In the latter case I concur with @David Heffernan in the former, please write a QC ticket. Share this post Link to post
Lajos Juhász 293 Posted November 16, 2021 1 hour ago, Sherlock said: Is that only in your Delphi application or in all applications? Most probably every application (I saw Windows 11 on YT videos and https://docs.microsoft.com/en-us/windows/apps/design/controls/checkbox). Share this post Link to post
Harry Bego 0 Posted November 16, 2021 (edited) Here's a screenshot from the preferences dialog in Paint Shop Pro: C++Builder itself and MS Word have the same checkboxes as in Windows 10. So looks like these use styles/skins. Edited November 16, 2021 by Harry Bego Share this post Link to post
Harry Bego 0 Posted November 16, 2021 Ok so in Windows 11 the only way to get rid of the solid blue and get decent looking checkboxes and radio buttons is to use styles. I have been using customized styles a lot but not for checkboxes and radio buttons since these didn’t look good at high dpi. But I now find that the new high DPI styles work great and the “Sky” style has nice checkboxes. Also, you can choose a style per control so I can use Sky just for the checkboxes and radio buttons. Problem solved. Thanks for all responses. Share this post Link to post