[DUG] Screen Resolution and WIndows 10 settings and Delphi

Stefan Mueller muellers at orcl-toolbox.com
Tue Nov 17 17:06:39 NZDT 2020

I just ported my application from xe7 to 10.4   … 10.4 has full support for modern dpi and font-sizes … but 3rd party controls just aren’t there yet with support for it and even very simple things (such as adjusting the x/y/h/w of a control) requires quite a bit of calculation. I found porting an existing large application to be quite challenging and had to give up on supporting dpi-scaling. For a new application it could probably be done – but then, who still uses Delphi to develop new applications?!

Kind regards,

Stefan Müller,
R&D Manager

ORCL Toolbox Ltd. 
Auckland, New Zealand 

P Please consider the environment before printing this email

This message is intended for the addressee named above and may contain privileged or confidential information.
If you are not the intended recipient of this message you must not use, copy, distribute or disclose it to anyone.


From: delphi-bounces at listserver.123.net.nz [mailto:delphi-bounces at listserver.123.net.nz] On Behalf Of Jeremy North
Sent: Tuesday, 17 November 2020 4:44 p.m.
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] Screen Resolution and WIndows 10 settings and Delphi


It is the same as windows 8 (scales). There are also different levels of support, like dpi aware and also per monitor dpi aware.

High DPI support in the IDE is an ongoing issue with the latest releases. It is much much better than what it was.

It just scales the control, you can check out the source code for what is happening, just search for the DoAfterMonitorDpiChanged method.

Old versions of delphi with a DPI other than 96 will be horrible and inconsistent with the presentation.


The per monitor support is interesting. Each control has a current dpi property as you can't rely on Screen.PixelsPerInch anymore.




On Tue, Nov 17, 2020 at 1:57 PM John Bird <johnkbird at xtra.co.nz> wrote:

Looking at high resolution screens – external monitor and replacing laptop i.e. going to 3840x2160   instead of 1920x1080


I have seen one and its nice, under display settings in Windows 10 it had “Change the size of text, apps and other items” set to 300%



1.	What is this setting doing?  

2.	Is it different from Windows 8 which had a scaling factor (eg 125 DPI) which could be set and would create issues with many programs such as Delphi 2007  IDE   (e.g. some dialogs could not fit their items within the borders )

3.	How well do older Delphi (e.g. D2007) programs and IDE play in such a high setting (300%)

4.	How well do latest Delphi (e.g. 10.4) programs and IDE play in such a high setting (300%)   - as I have both versions of Delphi active


Any comments from those working with such great big screens please on tips and pitfalls





NZ Borland Developers Group - Delphi mailing list
Post: delphi at listserver.123.net.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-request at listserver.123.net.nz with Subject: unsubscribe

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20201117/d993f87d/attachment-0001.html 

More information about the Delphi mailing list