I wouldn't be able to read the screen well enough if I used 96dpi. All my computers use 120DPI.
I did have issues with my apps when I initially changed to 120DPI, and so did some of my customers, but after disabling AutoScroll on all forms and redesigning under 120DPI, my software appears to look fine on any reasonable DPI setting. I've never used ScaleBy so cannot really help. I don't see that being useful in many cases. Operators often use large monitors with high resolutions so they can fit more app windows on the screen at the same time. Forcing the app to take up more space doesn't make sense to me. Ross. From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of John Bird Sent: Thursday, 22 July 2010 12:33 AM To: NZ Borland Developers Group - Delphi List Subject: [DUG] 96DPI and 120DPI 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. 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? 2 - Do many general Windows programs have issues with a 120 or 144 DPI setting? Delphi programs? 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. Maybe someone who knows can shed light on what windows does differently with standard controls when the screen is set to 120DPI John
_______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe