<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=text/html;charset=iso-8859-1 http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.7600.16588"></HEAD>
<BODY style="PADDING-LEFT: 10px; PADDING-RIGHT: 10px; PADDING-TOP: 15px"
id=MailContainerBody leftMargin=0 topMargin=0 CanvasTabStop="true"
name="Compose message area">
<DIV><FONT size=2 face=Arial>I am trying to figure the implications for Delphi
programs, and programs in general, on screens where the screen is set to 120DPI,
or other than the standard 96DPI.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>1 - Why do some screens get set up that way by
network providers? Is it common? I am presuming its
either to get better performance out of an older LCD screen or easier to
see text on a new large resolution monitor? Do you regard it as OK or
not good practice? Is it common enough that we have to cater for
it?</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>2 - Do many general Windows programs have issues
with a 120 or 144 DPI setting? Delphi programs?</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>3 - I have one program that has a reasonable amount
of internal settings done to scale the forms to fit available screen resolution
- Note I do not use the form align or anchors as I prefer to to keep the
horizontal and vertical proportions and expand the form to fit about 3/4 of the
desktop, using Form.ScaleBy. This has the advantage of increasing the size
of buttons and keeping the relative sizes of everything the same. I also
tweak the row heights and font size of grids up by the same factor, all works
fine except on 120DPI where it all goes awry mainly with row and font
height size in grids, and sometimes the ScaleBy does not happen (I presume
its getting values it can't use). and I am not quite sure why.
I am detecting the screen.height, screen.width,
Screen.PixelsPerInch, and form1.pixelsPerInch so I should be able to
get it right.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Maybe someone who knows can shed light on what
windows does differently with standard controls when the screen is set to
120DPI</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>John</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV></BODY></HTML>