- This topic has 2 replies, 2 voices, and was last updated 2025-11-18 at 1:26 am by .
Viewing 2 reply threads
Viewing 2 reply threads
- You must be logged in to reply to this topic.
Home › Forums › Konopka Signature VCL Controls (formerly Raize Components) › TRzCheckBox on Windows 11
Tagged: VCL;Win11;TRzCheckBox
Hello,
On Windows 11, the appearance of csChecked and csGrayed for the TRzCheckBox is almost the same (a garish smurf blue). Is there a way to override this somewhere in the code ?
Very best regards,
Olivier
Hi Olivier,
Unfortunately, that style comes from Windows itself. To change the appearance, there are a couple things you could do. First, you could load a different VCL Style into your application and then use the Per Control Styling introduced in Delphi and then set all your check boxes to use the other style.
Another option would be to set the ThemeAware property of the TRzCheckBox to False, and then set the HotTrack property to True. This will cause the TRzCheckBox to draw the check box states internally rather than use the style elements.
Ray
Hi Ray,
Thank you very much for your suggestions.
Looking at the initialization code that I have in the base class of all my forms, I see that I was actually using your second suggestion (ThemeAware =false and HotTrack=true) for Windows 7 and below. So, I have now extended this to Windows 11 as well.
Very best regards,
Olivier
We use cookies to improve your experience on our site. By using our site, you consent to cookies.
Manage your cookie preferences below:
Essential cookies enable basic functions and are necessary for the proper function of the website.
These cookies are needed for adding comments on this website.
These cookies are used for managing login functionality on this website.
Stripe is a payment processing platform that enables businesses to accept online payments securely and efficiently.
Service URL: stripe.com (opens in a new window)