Home > Back-end >  Windows 7 theme control font color change problem! Consult?
Windows 7 theme control font color change problem! Consult?

Time:10-08

Found a problem, development on Windows 7, the theme is Aeor, want to change the font color cannot be achieved control itself, change the system to the classic theme, can, checked the, an article on the box is mean about that Delphi support for Windows 7 theme is bad, no support to the new API, I can just use vs2010, tried, that's true,
For example,
 procedure TForm1. BitBtn1Click (Sender: TObject); 
The begin
Checkbox1. The Font. Color:=clred;
end;

This is not under Windows 7 theme, into classic can change color, have know under Windows 7 theme can also change the font color control method,

CodePudding user response:

No one see it? The top one

CodePudding user response:

Delphi is really not line, no one saw

CodePudding user response:

Procedure TForm1. BitBtn1Click (Sender: TObject);
The begin
Checkbox1. The Font. Color:=clred;//how can you specify the color change? Don't understand.
end;

//to follow the system change, can not directly using the specified color, can use clBtnText similar

CodePudding user response:

Do not use third-party control!!!!

CodePudding user response:

ClBtnText seems not ah, just don't want to use three controls, also don't want to use the skin, how to do

CodePudding user response:

Looks like Delphi's support for Windows 7 theme is bad,
  • Related