Win 32

in the LFM-file I have:
 object Memo1: TMemo
    Lines.Strings = (
      'regel 1'
      'regel 2'
     
      'regel 3'
      'regel 4'
    )
    TabOrder = 0
    Left = 13
    Height = 275
    Top = 13
    Width = 366
  end

in the lrs-file:
  +'eight'#3','#1#3'Top'#3#239#0#5'Width'#3#144#1#0#5'TMemo'#5'Memo1'#13'Lines.'
  +'Strings'#1#6#7'regel 1'#6#7'regel 2'#6#0#6#7'regel 3'#6#7'regel 4'#0#8'TabO'
  +'rder'#2#0#4'Left'#2#13#6'Height'#3#19#1#3'Top'#2#13#5'Width'#3'n'#1#0#0#0

So when I want to make an emty line I cannot hit the Enter-key twice (like in Delphi)
I have to enter at least a space to get an empty line. I supposed two times Enter would result in something like ' '
in the LFM-file.

Marien

On 3/13/06, Mattias Gaertner <[EMAIL PROTECTED]> wrote:
On Sun, 12 Mar 2006 16:35:57 +0100
"Marien van Westen" <[EMAIL PROTECTED]> wrote:

> I use a TMemo for displaying some information on my programs.
> I use empty lines to separate paragraphs.
>
> Like I do now in this text.
>
> Unfortunately when I reopen the project, in the design the empty  lines
> are gone, but they are there when
> I run the program. In the lfm-file there is an empty line, so I suppose
> that when loading the project again this empty line is ignored,
> but that during runtime the information is taken from the lrs-file where
> the empty line is stored.
>
> I cannot finde a hint when looking at the source of TMemo, so I suppose I
> have to delve deeper into Lazarus to find a solution to make sure that
> an empty line will be stored correct in the lfm-file.
> Where do I have to look for that?

What widgetset? gtk, win32?
What line endings?


Mattias

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

Reply via email to