I have an object, for example a label.
In my database I have a char field holding the word red.
I want to use the value in the database to change the color property of the label object.
label1.Color:='red'; throws an error.
Error: Incompatible type for arg no. 1: Got "Constant String", expected "TGraphicsColor"
How do I make the transition from the word in the database to a TGraphicsColor?
label1.Color:=strToGraphicsColor('red'); is not the answer.