New line in memo?
How to go into new line when editing memo?
I try with <span style='color:red'>data1.memo := 'first line+#13+#10+'second line';</span> but it doesn't work.
I try with <span style='color:red'>data1.memo := 'first line+#13+#10+'second line';</span> but it doesn't work.
Comments
ParValue := MyStringlist.Text in the GetValue routine.
But I have also used constructions like; 'MyText'#13#10'Moretext'.
It worked for me.
If you want to add several strings to a memo internally, you can probably use a RichtText object in stead of a memo. In RTF a new line is '\par'. Write a few lines with Wordpad, save it to an rtf file and look at the rtf code with Notepad. You can use the rtf text as a single string.
However, I found working with the RichtText Object problematic.