[DUG] Screen Resolution and WIndows 10 settings and Delphi

Jeremy North jeremy.north at gmail.com
Tue Nov 17 16:44:03 NZDT 2020

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%
> Questions:
>    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/92a0488e/attachment.html 

More information about the Delphi mailing list