Page 1 of 1

adding a linebreak/carriage return after calling InsertText

Posted: Tue Sep 30, 2008 3:09 pm
by kabal
Hi there

I am adding strings at runtime to a TRichViewEdit using InsertText.

I have looked through the help, and tried searching this forum, but have come up with no solution to insert a line break /CRFL or 2 after the text has been entered.

How can do accomplish this?
Thanks in advance

Posted: Tue Sep 30, 2008 3:21 pm
by Sergey Tkachenko
Just add #13#13 at the end of inserted text.
(version 10.4 has a bug, #13 at the beginning of inserted text are ignored)

Posted: Tue Sep 30, 2008 3:25 pm
by kabal
thanks sergey, just discovered that would work about 5 minutes after making the post, obviously I didnt read the help properly :oops: :)

thanks for the prompt reply