Saving/Loading TColor - Ini's and Strings.
Posted on 2000-05-05
In my app's preferences/display section, I'm trying to save colors for different kinds of text that will be added to my richedit.
I'm using a standard colordialog, and all I want is to select the color, stick it in a string, save the string to an ini file, and when the app is loaded, I need to load the string from the ini and apply it to RichEdit1.Selattributes.Color
I've tried just using IntToStr on the colors and StrToInto when applying them back to selattributes, but it's not working!