1. Adik Gaikwad
  2. PowerBuilder
  3. Wednesday, 23 October 2019 11:23 AM UTC

We need a small function to make the data window printing size dynamic 

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 23 October 2019 18:38 PM UTC
  2. PowerBuilder
  3. # 1

Hi Adik;

   Do you mean something like the DW "Zoom" feature, as follows for example:

  • DC/DS.Modify ( "DataWindow.Zoom='200'" )
  • DC/DS.Modify ( "DataWindow.Print.Preview=Yes" )

The above works for me and prints the DWO at 2x size in the above code example.

HTH

Regards ... Chris

 

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.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.