Delphi 6 : How to remove carriage return or enter key in memo fields

To make the enter key dissapear and to have the whole text in 1 line we need to replace the enter key value #13#10 with a space.

This is how i did it.

newFIELD := StringReplace(newFIELD, #13#10, ”, []);

Hope it helps somebody out there.

Coffee Cup

Leave a Reply

Your email address will not be published. Required fields are marked *