[Home] [Puzzles & Projects] [Delphi Techniques] [Math topics] [Library] [Utilities]
|
|
Problem DescriptionDelphi by default tries to rescale displayed text for different resolutions to keep it at about the same size as it was on the computer that compiled the program readability. Some controls automatically resize to accommodate text size changes. Those that don't may truncate text for high resolutions, Those that do resize may expand controls enough that they no longer fit on the main form. This page discusses the problems and techniques for dealing with them. Background & TechniquesSeveral years ago I replaced the 15" Dell laptop I used for development with a 17" model with 1920x1200 screen resolution. It turned out to be a mixed blessing. You can get lots of stuff at high resolution on the screen, but without scaling it is tiny; a problem for these old eyes. Text can be increased using the Windows "Increase text size" including text on Delphi forms, but it knows nothing about scaling the controls containing the text, mainly TMemo. More study is needed on the best way to accommodate multiple resolutions, but for now I am starting an effort to test and correct form and control sizes to eliminate truncated text or controls for past posted program. I'm testing at 1920x1200 and at 1024x720 screen resolutions on the assumption that programs that look OK at those two ends of the scale will look good for intermediate resolutions. Here are link to the batch i have adjusted so far:
These eight were selected for testing. As usual please Let me know if you find any bugs. Screen resolution fixes will not be a general high priority task, but if you come across other programs with display problems, send me a screenshot and the resolution of your screen and I'll be happy to fix it. Suggestions for Further Explorations
|
[Feedback] [Newsletters (subscribe/view)] [About me]Copyright © 2000-2018, Gary Darby All rights reserved. |