Re: Anyone have any ideas on dealing with client screen resolution differences?

From: Robert Feinman <robertdfeinman_at_worldnet.att.net>
Date: Tue, 20 Jul 1999 08:44:04 -0400
Message-ID: <37946F14.341DDB8_at_worldnet.att.net>


Windows handles screen resolution very poorly. Make sure you have set you coordinate system to physical not character-based in the forms builder. I use points as the unit of measure, but inches are just as good. Next pick some simple fonts that you can expect on user's systems. I use Arial 8 and 10 point.
Next build your window a size that will fit on the lowest resolution you plan to support. I don't recommend anything below 800x600. You can't get enough on the screen. Build a sample form with several different types of objects: buttons, pop-lists, items, etc.
Run the form at each resolution and see how it looks. Fix, repeat...

It seems to me that if I ask for 10point type it should be 10points high on the screen no matter what the resolution, but that's not what windows does. It assumes a certain number of pixels/point and scales everything so lower resolutions get larger forms. There are forms calls that return the screen size and cell size so in theory you could scale things by testing these values when you start up.
In my testing these variables don't return correct values, and what do you do about boilerplate and gui items?

-- 
Robert Feinman, Ph.D                  Database Doctor   
robertdfeinman_at_worldnet.att.net
Received on Tue Jul 20 1999 - 14:44:04 CEST

Original text of this message