John Samperi wrote:
When I try and use it in the .ini save/read procedures
as follows:

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

I get an error. Got "TGraphicsColor" expected "AnsiString"

SynEdit1.Color is not a string, but a TGraphicsColor just as the message tells you ;-). Try WriteInteger instead.

Micha

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

Reply via email to