Link to home
Start Free TrialLog in
Avatar of emilio76
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 Sinisa Vuk
Sinisa Vuk
Flag of Croatia image

Set each form property Scaled = False
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
ASKER CERTIFIED SOLUTION
Avatar of Ferruccio Accalai
Ferruccio Accalai
Flag of Italy image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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