trichview.com

trichview.support




Removing all line breaks


Return to index


Author

Message

Yoerdes

Posted: 05/28/2003 18:26:59


How can I remove all line breaks from an RTF string that I want to paste

into an RichViewEdit?


The following is set:


RichViewEdit.EditorOptions := [rvoCtrlJumps, rvoDoNotWantReturns,

rvoDoNotWantShiftReturns];


RichViewEdit.Style.ParaStyles[0].Option := [rvpaoNoWrap,

rvpaoDoNotWantReturns];


This helps when typing the text, but when I paste text that has line

breaks, they are still there after pasting.


Regards

Yoerdes





Powered by ABC Amber Outlook Express Converter