For a long time I have seen the advantage of RTF ( Rich Text Format ), especially when creating invoices for customers. Although the ability to create, and save, RTF has been available to us, printing longer text across pages, using the tPrinter class, was not supported. NOW IT IS.
In my application, I have "disclaimer" text that prints on invoices. It has always been in the same font, color, size as the detail ( parts, labor, prices, etc ) on the invoice. Using MemoEdit, my clients could change the content but not the style. Now, that same text can be read, modified as RTF, saved, then printed on the customer's final copy. It displays properly in the preview, and works perfectly in PDF's generated in the rPreview program. It is a great solution.
Thanks to the FWH developers who contributed to this. It is really appreciated.
If it will be helpful, I could certainly add a comment with the code I use to get this done.
I do, however, have one request. When using the RichEdit5 control, there is a button bar. It displays when the cursor goes to the top of the control. I really would like the ability to lock that bar in place. It is especially problematic when trying to format the top line of text in the edit box. Since I know this may not be a universal desire, perhaps we could have a flag for the control that allows us to make this occur.
Thanks to all who have contributed to these conversations.