1. Wallye Jones
  2. PowerBuilder
  3. Tuesday, 16 January 2018 19:29 PM UTC

Is there another solution besides the wordwrap.dll to get text to wrap correctly. The wordwrap.dll solution is extremely slow when having to format several lines of text. 

Thanks in advance. 

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 16 January 2018 21:45 PM UTC
  2. PowerBuilder
  3. # 1

Hi Wallye;

   Is there something special in the WordWrap product that the auto word wrap in an MLE or better yet, a DataWindow object would not suffice?

Regards ... Chris

Comment
  1. Wallye Jones
  2. Wednesday, 17 January 2018 17:36 PM UTC
Hi Chris, 



   Thanks for the quick response. The issue that the WordWrap product fixes is when the text spans multiple pages. Without the Wordwrap product, the page break can happen in in the middle of a line of text. The line will be chopped in half where the top part of the text appears on the bottom of page one and the bottom part of the text appears at the top of page two. 



Using this sentence as an example with strickthrough enabled, everything above the line is on page one, everything below the line is on page two. This doesn't happen every time, it varies on the data that is being represented but the only way to insure it doesn't happen is to use Wordwrap. 



Wordwrap looks at the text to determine when it should break the page, breaking it cleanly so one line of text doesn't span across two pages. It works great if there are only a few lines of text but if someone gets a little wordy, it can delay the report for 10-15 seconds because it is measuring every letter to determine where it should wrap the line and break the page. 



Do you know of any other solution for this issue?

  1. Helpful
  1. Wallye Jones
  2. Friday, 2 February 2018 17:07 PM UTC
Chris, do you know of another solution so that text will span multiple pages correctly without splitting a line of text between two pages? By splitting lines I mean the top half of a line on one page and the bottom half on another page. 



Thanks in advance. 

  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.