[DUG] 96DPI and 120DPI
Ross Levis
ross at stationplaylist.com
Thu Jul 22 21:50:00 NZST 2010
I've come across the odd freeware or shareware app that cut's off part of
the text or component at 120dpi but generally I don't have any problems.
I hadn't tried 144dpi but just tried it now, and ran through several forms
in my app. Status bars have some text chopped off the bottom on y's and
g's, etc, but otherwise everything looks good.
I may need to move to 144dpi in 10 or 20 years.
Ross.
From: delphi-bounces at delphi.org.nz [mailto:delphi-bounces at delphi.org.nz] On
Behalf Of John Bird
Sent: Thursday, 22 July 2010 9:01 AM
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] 96DPI and 120DPI
Well as I understand using 120DPI is for the same reason - making app
windows larger and easier to read on the screen - or at least the text
larger. I have users with oldest to newest screens - from about 800x600 up
to 1920x1024 so I have to do something like this for the form to be fairly
consistent
Mainly I want to figure out how to set my ScaleBy routine so its not thrown
by 120DPI - how does it affect windows controls and their sizing - anyone
there can shed clear light on this?
Specifically are the screen.height screen.width figures still accurate,
and does Screen.PixelsPerInch, and form1.pixelsPerInch
return the correct values? Mainly I want to figure out there is a
different relationship in grids between grid.width grid.defaultrowheight
and grid.font.size - or maybe its as simple as doing the Form.ScaleBy before
rather than after doing the grid adjustments...
The main problem is I don't have a 120DPI screen to test on. If I am
testing on a laptop is it feasible to set to 120DPI or will it mess up too
much other general windows stuff?
Also - does your stuff handle 144DPI? I saw references that that setting is
also appearing - looks to be an option in Windows 7.
John
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20100722/d81610f7/attachment.html
More information about the Delphi
mailing list