Forum > LCL
Is there a way to make TMemo start a new line with linefeeds only?
vfclists:
Is there a way to make TMemo start a new line with linefeeds only?
When I get some info from a web server into a TMemo with linefeeds all the lines a strung together.
Does TMemo have a setting to cause the lines to break properly?
typo:
TMemo, AFAIK, is a Windows control. I think you should handle your text before entering in a TMemo to add #13#10 properly.
eny:
Maybe you can use:
--- Code: ---YourTMemo.Text := StringReplace(YourTextVar,#10,#13#10,[rfReplaceAll]);
--- End code ---
Bart:
AdjustLineBreaks ?
vfclists:
Is that a runtime property? It is not showing in the object inspector.
Perhaps I you are a few versions ahead of me?
--- Quote from: Bart on April 16, 2010, 02:26:26 pm ---AdjustLineBreaks ?
--- End quote ---
Navigation
[0] Message Index
[#] Next page