Hi Gurus,
Migrating PB12.6 to PB2017R3 (windows 10 os) - Issue with appeon RichText datawindow multiple pages
After PASTERTF() to RICHTEXT datawindow. its visible having two pages.
But datawindow function returns pagecount = 1 - which is wrong.
ls_ret = idw_Letter.Describe ("evaluate('pagecount()',1)")
also......PRINTDATAWINDOW() prints only one page to acrobat pdf 2017
the same code was working fine in PB12.6
any changes needs to be done PB2017R3 ...?
Attached: richtext datawindow screen for both pages.
Thanks,
Rajesh
we have the same problem like Rajesh. Additionally we want to export the RichText Datawindow as PDF (native PDF). If we use Built-in Rich Edit Control we can create PDFs, but not print multiple pages. If we use TX Control, we can print multiple pages, but not create PDFs (native PDF). Is there a solution to enable both?
Regards
Patrick
Unfortunately, one PB application cannot use both the TE and TX controls at the same time. You have to choose one or the other from within the Application Painter before you build your App's EXE. I would like to suggest that you open a Support Ticket on the PDF issue for the TX control and another Support Ticket on the multi-page issue for the TE control.
I do have a "workaround" solution idea for you ...
1) Use the TX control that allows you to edit & print OK from the RTE control.
2) Create a simple PB App EXE that takes a file name as an argument in the CommandLine argument. I'll call it "PDFMaker.exe" for my example purposes.
3) When the TX control wants to produce a PDF ...
a) Export the RTE content into an RTF file
b) Call the PDFMaker EXE with the RTF file name as an argument
4) In the PDFMaker EXE app, use the TE control and import the RTF file contents. Then create the PDF file from within that app.
HTH
Regards ... Chris