Hi. I'm a little lost here.
I have rtf text stored on memo fields I wish to print without displaying on the screen. With RePrintBox() it seems like I must have the rtf being displayed. right?
I tried defining the control without displaying by never calling the activate diaglog clause. But still, nothing prints. Here is what I'm using to print:
- Code: Select all Expand view
local a := ::oprn:Inch2Pix( 4.69, 0.75 )
local b := ::oprn:Inch2Pix( 9.00, 7.75 )
::oTranscript:oTrGrss:Selectall()
REPrintBox( ::oTranscript:oTrGrss:hWnd, If( ::isPreview, ::oPrn:hDCOut, ::oPrn:hDC ), ;
::oTranscript:oTrGrss:IsSelection(), a[1 ], a[2], b[1], b[2] )
How can I print rtf, straight from the memo field to the printer or preview without redefining the richedit control?
Reinaldo.