Thomas Hoevel wrote:
Hi, Francis,
I never tried it.
If you store the string "Slateblue" in the config file, use "public static Color Parse(string color)" (Color class) to retrieve the color.
If you store an uint32 (e.g. "0xFF6A5ACD" for Slateblue), use "public Color(uint argb)" to retrieve the color.
Parse will also handle the string "0xFF6A5ACD".
This is just a "haven't tried but should work" advice.
Where do you see a problem storing colors in config files?
Holy crap, that really solves it all. Then I only need to store the color settings as string and use the Color.Parse() function. You guys really thought about everything
![Smile :)](./images/smilies/icon_smile.gif)
Thanks.