devxlogo

Resizing Resolution

Resizing Resolution

Question:
How do I re-size the buttons, etc. on my forms when the resolution changes? If I create something in Delphi at a high resolution and run it on a computer with a low resolution, the controls or components are oversized. Please help.

Answer:
Try this: Set your PixelsPerInch property of your form to 120. This createsa higher density pixeling such that when you run the form at lowerresolutions, all components get scaled down evenly.

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