Autor Beitrag
Mitmischer 1703
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 754
Erhaltene Danke: 19

Win 7, Debian
Delphi Prism, Delphi 7, RAD Studio 2009 Academic, C#, C++, Java, HTML, PHP
BeitragVerfasst: Sa 09.10.10 08:40 
Ich bin's noch mal.

Wie bekomme ich die Farbe der Beschriftung einer CheckBox geändert? Weder TCheckBox.Color noch TCheckBox.Font.Color haben eine Auswirkung, kurioserweise lässt sich die Schrift wunderbar verändern - bis auf die Farbe!

_________________
Die Lösung ist nicht siebzehn.
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19312
Erhaltene Danke: 1747

W11 x64 (Chrome, Edge)
Delphi 11 Pro, Oxygene, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Sa 09.10.10 08:47 
Das funktioniert schon. Aber nur, wenn du nicht mit einem entsprechenden Manifest Windows sagst, dass es die Komponente nach Systemstandard zeichnen soll. ;-)
Mitmischer 1703 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 754
Erhaltene Danke: 19

Win 7, Debian
Delphi Prism, Delphi 7, RAD Studio 2009 Academic, C#, C++, Java, HTML, PHP
BeitragVerfasst: Sa 09.10.10 08:51 
ich verwende gar kein Manifest ;) Und im Projektordner liegt auch keins.

_________________
Die Lösung ist nicht siebzehn.
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19312
Erhaltene Danke: 1747

W11 x64 (Chrome, Edge)
Delphi 11 Pro, Oxygene, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Sa 09.10.10 09:27 
Wenn du wie im Profil steht Delphi 2009 benutzt, wird das (bei dort neu erstellten Projekten) automatisch eingefügt, es sei denn du deaktivierst das in den Projektoptionen.