>      myINI.WriteString('Editor','Background Colour',SynEdit1.Color);
>
> I get an error. Got "TGraphicsColor" expected "AnsiString"

On first sight, I would expect WriteString to recieve strings, and not
TColor, so either try :

myINI.WriteString('Editor','Background Colour',IntToStr(SynEdit1.Color));

or

myINI.WriteInteger('Editor','Background Colour',SynEdit1.Color);

Darius


_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to