devxlogo

Screen resolution

Screen resolution

Question:
I am developing an application in Delphi 2.0 on a 1024×768 resolution (large fonts), and have been trying to get it to act properly in 800×600 mode with little success. Borland has a short informational TI that describes how to get around this, but it does not resize the form properly. Any suggestions?

Answer:
I see this problem all the time. Make sure that you set your PixelsPerInchfor all your forms to 120. It defaults at 96, which causes scaling problemsat a lower resolution.

devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist