It appears that strings assigned to the Lines property of a TMemo object
are written to the .lfm file, but are not read back when the project is
reopened.

Is this a bug that I should report, or am I doing something wrong?

I initialize the Lines property of a TMemo object by clicking the ... button
in the Object Inspector.  When saving the form, the strings do show up in
the .lfm file:

  object MemoTest: TMemo
    ...
    Lines.Strings = (
      'One'
      'Two'
      'Three'
      'Four'
      'Five'
   )
   ...
   end

When the project is reopened after quitting Lazarus, the TMemo object
shows up empty, as if nothing was written in the .lfm file.

        Tom
-- 
E-MAIL: T.Verhoeff @ TUE.NL     | Fac. of Math. & Computing Science
PHONE:  +31 40 247 41 25        | Eindhoven University of Technology
FAX:    +31 40 247 54 04        | PO Box 513, NL-5600 MB Eindhoven
http://www.win.tue.nl/~wstomv/  | The Netherlands

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

Reply via email to