How can you change the font color of a theme-enabled control?
Posted
by Edouard Westphal
on Stack Overflow
See other posts from Stack Overflow
or by Edouard Westphal
Published on 2010-03-01T14:28:07Z
Indexed on
2010/05/20
7:20 UTC
Read the original article
Hit count: 224
Yes, this is again this question:
How can I change the font color of a TCheckBox (or any handled control) with Delphi7->Delphi2007 on a themes enabled application?
After reading a lot on the internet and on this site, I found 4 kinds of answer:
- and Most populare (even from QC): You can't, it's designed like that by Microsoft.
- Create a component that let you draw it like you want.
- Buy expensive component set that draws like you want.
- Do not use themes.
OK, but I am still unhappy with that.
Giving a user colored feedback for the status of a property/data he has on a form, seems legitimate to me.
Then I just installed the MSVC# 2008 Express edition, and what a surprise, they can change the color of the font (property ForeColor of the check box) Then what?
It does not seem to be a "it's designed like that, by Microsoft." then now the question again:
How can I change the font color of a TCheckBox (or any handled control) with Delphi 7 through Delphi 2007 on a theme-enabled application?
© Stack Overflow or respective owner