Avatar of emilio76
 asked on

Delphi and DPI 100% 125% 150% on Windows 7

Hey guys.

I am developing a Delphi product that I develop in 100% 96 dpi and when running the product on different dpi all my controls get messy and go out of the regular places and fonts in buttons, panels gets bigger and the product looks ugly. Is there a function / solution that can be set on each form.oncreate to encounter this and always display the product on each of the dpi settings in Windows as it was developed under?

Avatar of undefined
Last Comment
Ephraim Wangoya

8/22/2022 - Mon
Sinisa Vuk

Set each form property Scaled = False
Geert G

up to now i have only ever found 1 good way.
develop a form for each dpi setting
alas this is so much work, that it isn't a very good financial/economical way

i haven't found a tool which does a 100% good job
Ferruccio Accalai

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Ephraim Wangoya

Create a master Form and let all the forms in your Application inherit from it.
In the master form, you can then add Ferruccio68's code as shown above
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy