Using RichEdit 4.1 in FastReport

edited 12:57PM in FastReport 4.0
I've found frxRichEdit.pas uses RICHED20.DLL, but I have to print some quite complicated RTF files, that render correctly on WordPad (the one that comes with Windows 7).

The solution is to fix frxRichEdit.pas, to handle MSFTEDIT.DLL instead of RICHED20.DLL, as shown in this blog post: http://fgaillard.com/2010/09/using-richedit-4-1-with-d2010/

I've tried to replace some parts of frxRichEdit.pas, to use the new DLL, but the result was, instead of rich text, just the plain RTF file.

Could you help me implementing this?.

I've attached the modified frxRichEdit.pas file.

Thanks in advance,
Leonardo.

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.