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?
- You are here:
- Home
- Q&A
- Q&A
- PowerBuilder
- Datawindow Distortion DPI scaling 125%
- Brian Zinken
- PowerBuilder
- Thursday, 31 August 2017 15:23 PM UTC
- Saturday, 16 March 2019 05:04 AM UTC
- PowerBuilder
- # 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
- Monday, 17 September 2018 07:29 AM UTC
- PowerBuilder
- # 2
For anyone else who may come across this problem, I found the following link which discusses the issue and provides a solution
I've tested setting the high DPI scaling override on and it fixes the problem in my application.
Regards
Allan
- Chris Pollach @Appeon
- Monday, 17 September 2018 14:00 PM UTC
Thanks for sharing that great tip!
Regards .. Chris
-
Helpful Loading... Helpful 0
- Monday, 17 September 2018 03:34 AM UTC
- PowerBuilder
- # 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
- Thursday, 31 August 2017 16:59 PM UTC
- PowerBuilder
- # 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
- Brian Zinken
- Thursday, 31 August 2017 19:54 PM UTC
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
-
Helpful Loading... Helpful 0
- Page :
- 1
However, you are not allowed to reply to this question.