clActiveCaption is not a text color, but a background color (fixes readability problem on windows xp with silverxp/luna theme)

git-svn-id: trunk@6229 -
This commit is contained in:
micha 2004-11-11 15:51:08 +00:00
parent b406ab0f6e
commit 8d67244ac0

View File

@ -514,7 +514,7 @@ begin
FValueFont:=TFont.Create;
FValueFont.Color:=clMaroon;
FDefaultValueFont:=TFont.Create;
FDefaultValueFont.Color:=clActiveCaption;
FDefaultValueFont.Color:=clCaptionText;
SetInitialBounds(0,0,200,130);
ControlStyle:=ControlStyle+[csAcceptsControls,csOpaque];