On 29-Oct-04, at 12:12 PM, Will Leshner wrote:
On Oct 29, 2004, at 11:53 AM, B Traver wrote:
In addition, there's the matter of the size and placement of the
controls within the window. Do they vary as well, related to the
screen
resolution? Does an EditField, for example, that had 16 lines in one
screen resolution suddenly have 32 in another?
No. Your EditField is the same size in all resolutions. So are the
fonts in them. There are just more pixels on the screen.
I think some people confuse the point size in fonts and the pixel size
that RB uses. Point size is based on 72 points per inch. If your screen
size and resolution match that, then there will be a size relationship
between the two. If I use 800 X 600 screen size on my 2001 iMac (15"
CRT), pixels and points are quite close. When I change it to 1024 X
768, everything gets smaller on the screen. The text size still has the
same number of pixels in RB but it no longer relates (visibly) with the
point size. This is most apparent when one prints the text out as it
usually prints at the point size.
On a bigger screen, 1024 X 768 pixels will appear larger. They will
still print out the same. But, then these larger screens also have
higher resolutions that then reduce the apparent font size.
It all boils down to one simple fact. What you see in font size on the
screen is based in pixel height. What the printer will print is based
on the point size. The one caveat is changing the printer resolution in
code. In this case, the pixel font must be changed to a larger size
proportional to the increase in the resolution in order to maintain the
72 point relationship on the printer. Otherwise, everything gets
shrunken on the printout.
Cheers,
Terry
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>
|