Hi there everyone,
I'm trying to convert a string to a TColor so that I can use it on a Color button
ColorButton1.ButtonColor := StringToColor('clSkyBlue');
But the colour on the button after the StringToColor conversion is not clSkyBlue. It looks closer to brown than blue.
What am I doing wrong?
JD
EDIT: I solved the problem. There was a reassignment in the value of ColorButton1 colour that was causing the problem.