1. Brian Zinken
  2. PowerBuilder
  3. Thursday, 31 August 2017 15:23 PM UTC

We have an application that looks fine with Windows DPI scaling set to 100%, but when the user changes the scaling to 125% the application doesn't scale the contents correctly. Am I missing a setting somewhere that allows the application to scale or possibly ignore the scaling?

joseph Manavalan Accepted Answer Pending Moderation
  1. Saturday, 16 March 2019 05:04 AM UTC
  2. PowerBuilder
  3. # 1

PowerBuilder 10.2 Some datawindow print has scaling issues with Windows 7/10 scaling 125%, but no scaling issues with scaling 150%. Most of the prints have no issues with scaling.

DPI scaling override has not resolved this issue. 

Only one particluar report has this issue. Other reports scales fine. Any thoughts?

Thanks

 

 

 

Comment
There are no comments made yet.
Allan Seagrott Accepted Answer Pending Moderation
  1. Monday, 17 September 2018 07:29 AM UTC
  2. PowerBuilder
  3. # 2

For anyone else who may come across this problem, I found the following link which discusses the issue and provides a solution

https://blogs.windows.com/buildingapps/2017/04/04/high-dpi-scaling-improvements-desktop-applications-windows-10-creators-update/

I've tested setting the high DPI scaling override on and it fixes the problem in my application.

Regards

Allan

 

Comment
  1. Chris Pollach @Appeon
  2. Monday, 17 September 2018 14:00 PM UTC
Hi Allan;

Thanks for sharing that great tip!

Regards .. Chris
  1. Helpful
There are no comments made yet.
Allan Seagrott Accepted Answer Pending Moderation
  1. Monday, 17 September 2018 03:34 AM UTC
  2. PowerBuilder
  3. # 3

Hi

Just wondering if there was any resolution to this problem?

I've been having this issue on Windows 10 since PB 12.6 and I'm now on PB 17 R2 1769. Mostly occurs on laptops as they're sometimes set to run at scaling 125%.

In my case the powerbuilder application works fine until I call a C# class library. After this point the powerbuilder application starts distorting the datawindow displays.

In my case, I've been able to isolate this to occurring after I assign the ADO connection proxy to a C# variable for reference. 

ie. IAdoConnectionProxy dbProxy = value as IAdoConnectionProxy;

where value is passed from the PB app and as a property setter. Value passed is sqlca.getadoconnection()

Thanks

Allan

 

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 31 August 2017 16:59 PM UTC
  2. PowerBuilder
  3. # 4

Hi Brian;

   Can you tell us  how the scaling is being done ....

1) DW Zoom setting?

2) MS-Windows video display setting?

3) Other?

Also ....

a) what version of MS-Windows are you using?

b) What version & build of PB are you using?

Thanks ... Chris

Comment
  1. Brian Zinken
  2. Thursday, 31 August 2017 19:54 PM UTC
The scaling is being done through the MS-Windows Display Setting.



We are seeing this behavior on Windows 7/10. 



I originally built the application in PB 11.5, then tested migrating and building with PB 2017.  



Thanks,

Brian

  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.