At 07:46 PM 14/11/2005, you wrote:
     Last param should be the default value, if there are no value:

     SynEdit1.Font.Size:= myINI.ReadInteger('Editor','Font
Size',12);

The number gets read back from the ini file. I initializes it
to 12 if the ini file has not been created yet, then it gets
saved in the ini file which gets updated when the program
closes so as to save the current settings.

Regards

John Samperi

********************************************************
Ampertronics Pty. Ltd.
11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA
Tel. (02) 9674-6495       Fax (02) 9674-8745
Email: [EMAIL PROTECTED]
Website  http://www.ampertronics.com.au
*Electronic Design * Custom Products * Contract Assembly
********************************************************


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

Reply via email to