I just created a new application in Delphi and even that other applications written the same way, this new application does not get automatically scaled by Windows. All applications have exactly the same settings, scaled = false. And Windows usually scales them properly (otherwise they would be too small if scaling is set tup 150% or more).
I found out that using properties menu, tab “Compatibility”, “Change HIGH-DPI settings” and set “Scaling by system” on bottom solves the issue and the application gets scaled properly.
But how can I either activate this option by default (Registry?) or how can I do it programatically (Delphi XE)?
Thank you very much!
Andreas