I have a mysql database and i want to save and retrieve colours to and from
it. What datatype would the column need to be. I made it a string, but i
couldnt find a way to convert a TColor to a string.
many thanks
Rudy
TColor is in fact Integer so store it as Integer.
Rudy
"Robert Marquardt" <robert_m...@gmx.de> wrote in message
news:456d...@newsgroups.borland.com...
bds has a colortostring function in the graphics unit.
so
caption:=ColorToString(clgreen);
gives
clgreen :)
--
Liz the Brit
Delphi things I have released: http://www.xcalibur.co.uk/DelphiThings
Rudy
"Liz" <liz_want...@xcalibur.nospam.co.uk> wrote in message
news:xn0euart9...@newsgroups.borland.com...