Screen Resolutions

[Home]   [Puzzles & Projects]    [Delphi Techniques]   [Math topics]   [Library]   [Utilities]

 

Search

Search WWW

Search DelphiForFun.org

As of October, 2016, Embarcadero is offering a free release of Delphi (Delphi 10.1 Berlin Starter Edition ).     There are a few restrictions, but it is a welcome step toward making more programmers aware of the joys of Delphi.  They do say "Offer may be withdrawn at any time", so don't delay if you want to check it out.  Please use the feedback link to let me know if the link stops working.

 

Support DFF - Shop

 If you shop at Amazon anyway,  consider using this link. We receive a few cents from each purchase.   Thanks.


Support DFF - Donate

 If you benefit from the website,  in terms of knowledge, entertainment value, or something otherwise useful, consider making a donation via PayPal  to help defray the costs.  (No PayPal account necessary to donate via credit card.)  Transaction is secure.

Contact

Feedback:  Send an e-mail with your comments about this program (or anything else).

Search DelphiForFun.org only

 

 

Problem Description

 Delphi 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 & Techniques

Several 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: 

Abundant Numbers Investigating questions about numbers the sum of whose proper divisors are greater than the number.
Added Corners A simple Mensa Calendar puzzle.
Akerue Word finder game - find all you can and then the computer will find majority that you missed!
Accordion Solitaire User play of this
Age Problem Solver Bob is twice Mary's age.  Three years ago...  A program which reads the text and solves story problems about ages.  
How Many Cubes? Thought puzzle from Marilyn in Parade magazine.
Square Solitaire Place card pairs from two suits so that the sum of each pair is a perfect square.
A Card Trick Tell the computer the card to remove.  Mute your microphone if you want.

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

Develop an definite algorithm to ensure program displays under multiple screen resolutions.
 
Created: January 31, 2014

Modified: February 18, 2016

 
  [Feedback]   [Newsletters (subscribe/view)] [About me]
Copyright 2000-2017, Gary Darby    All rights reserved.