The website CookieRevised posted (http://www.functionx.com/bcb/howto/inifile.htm)
Was just what I was looking for. I can get it to save everyting except the color of the edit boxes.
Cookie would you know how?
This is how I write to the ini:
code:
StartUp->WriteString("CtlValues", "txtPreview", Edit1->Text);
^ That writes Edit1's text to ini.
I tryed:
code:
StartUp->WriteString("CtlValues", "txtColor", Edit1->Color;
^ But it don't write the color of the box it writes a number like -256438