1. Chris Stewart
  2. PowerBuilder
  3. Saturday, 29 August 2020 20:44 PM UTC

I have an PB app that I am using metadata and modify to move columns and text around.  I am having two issues that I think I can work around if I can figure out one of two approaches.  

 

1 - when I use the font.escapement property to rotate a column I don't seem to keep that column from wrapping the text on to a second line.  I have auto vertical and horizontal scrolling off but the field wraps anyway.  Any thoughts on this?

 

2 - Since user are adjusting the metadata it is easy to move a column where it extends off the pages and causes more mostly blank pages to print.  If I set the page.range to 1 I still get the extra pages since I assume they are all considered page 1.  Is there a way to print only the first page regards if fields extended off the page?

 

If I can solve one of the problems I think I can workaround the others.

Thanks

 

mike S Accepted Answer Pending Moderation
  1. Saturday, 29 August 2020 22:05 PM UTC
  2. PowerBuilder
  3. # 1

#2 - can you check and limit the x and width to prevent someone from moving off the page?  or maybe figure out the ratio needed to auto set the zoom to force it to fit. 

Comment
  1. Chris Stewart
  2. Sunday, 30 August 2020 00:11 AM UTC
sorry Mike, see comment below, I should have replied directly to your comment.
  1. Helpful
There are no comments made yet.
Chris Stewart Accepted Answer Pending Moderation
  1. Sunday, 30 August 2020 00:10 AM UTC
  2. PowerBuilder
  3. # 2

It's a long complicated form I am printing with a lot of barcodes, I can't adjust the zoom.  I could determine equations to warn the user about exceeding the margin.  I was looking for method to ignore the other pages so I could fix #1 by just configuring the rotated columns to be long enough so they would never wrap and I would just lose the extra pages.  If I make sure all the columns and text stay safely on one page I fix my print issue but still have #1 to contend with.

Comment
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.