[CLOSED] Checkbox Textcolor ? lazarus / 31-LCL ---------------------------------------------------------------------- Nitorami · 2021-01-30 11:38 I have a small Delphi 7 program here (not written by me). The author considers the Delphi 7 compiler as Abandonware but I'd rather use Lazarus. So I extracted it to a folder and tried to convert it, using Lazarus 2.0.0 under win10. It converts but then does not compile because type PRGNDATA in unit1.pas is unknown. Clean up the folder, and instead try to open project1.dpr as GUI application instead. Lazarus creates project1.lpi, and compiles and runs ok. Odd. But my problem is really that - the text of the checkboxes in the Options menu is black and illegible on the dark background. I can change the checkbox color and font colors as I like, it just remains black. The author says it is fine with Delphi. Is that a bug in the LCL possibly ? ---------------------------------------------------------------------- wp · 2021-01-30 12:52 This is a limitation of themed painting in Windows - even in Delphi XE 10.3 these checkbox texts have black text. You can work around the issue by turning off the theme services - this is done in the project options, box "Use manifest resource". Alternatively, you could copy the checkbox caption to a label , erase the checkbox caption and place the label next to the "empty" checkbox. TLabel is ownerdrawn and offers more flexibility in setting colors. ---------------------------------------------------------------------- Nitorami · 2021-01-30 13:09 Thanks a lot. I'd never have found this.