I have been trying but I haven't managed to duplicate this - could it be
something to do with printer margins? I tried:
Richedit1.Lines.LoadFromFile('c:\ATextFileWithLongLines.txt');
//Text wrapped to the Rich Edit
RichEdit1.Print('RichEdit word wrap test'); //Text wrapped to the
Assume you are using TQuery, and has a BLOB field RichEdit in database.
You can set SQL as
'insert into t (field1, ..., RichEdit) values (value1, , :RichEdit)'
and use ParamByName('RichEdit').SetBlobData to set the value of RichEdit
information. You should be able to get RTF format from TRich