by TimStone » Mon Mar 14, 2022 6:11 pm
Yes, we can read / manipulate / save RTF data. HOWEVER, after many months, we are still. not able to PRINT RTF as part of a more complex document.
Using the wonderful PRINT class in FWH, we can do so much. However, consider the invoice:
For address and invoice information, we can print text very easily.
We can add text colors and boxes
We can do columns, and vary row content.
However, we cannot give this option to the enduser.
My clients want to print Disclaimer text at the end of invoices, and have the ability to change it themselves.
They want to change font sizes, use bold and underline, and perhaps even colors.
We can create this on screen
We can save it in a memo field.
Bust WE CANNOT PRINT IT.
In the printer class, we need the ability to use:
oPrn:SayRTF( nRow, nCsp * 2, oRTF, nRow +lRTF, nCsp + 60 )
Where nRow is the starting row, nCsp is the starting column, lRTF is the length of the RTF in rows, and oRTF is the actual RTF text derived from the memo field.
Months ago we were supposed to be very close.