Re:Screen Resolution - Large font vs Small Font problem
Quote
Robert Schroeder (Robert.Schroe...@koblenz.netsurf.de) wrote:
: In message <318A0FCF.3...@sysgenics.co.uk> - Billy Nice <bi...@sysgenics.co.uk>
: >
: > I have a problem with designing a project using a resolution with 'small fonts' and then running
: > this project with a resolution having 'large fonts'. The images and panels in my project have
: > different heights and widths from when they were designed. I have the same problem if I design with
: > a screen resolution having 'large fonts' and then run the project on a 'small fonted' resolution.
: > I could set the positions and sizes are run-time but I feel I shoundn't have to. Can anyone help?
: >
: > --
: > Billy Nice
: Have you tried setting your forms' Scaled property to false? If this
: still isn't enough, I get reliable window and dialog sizings by
: manually setting the form's height to the desired canvas height plus
: the difference between current form height and current canvas height, which
: then accounts for different title bar heights according to screen resolution.
: Hope this helps,
: Rob
: -----------------------------------------------------------------------
: _ _ Rob Schroeder
: |_)(_ Internet Robert.Schroe...@koblenz.netsurf.de, CIS 101633,2076
: | \ _) -> Homepage http://ourworld.compuserve.com/homepages/rschroeder
: -----------------------------------------------------------------------
You also should include the screen.PixelsPerInch variable
for small fonts this it's 96 DPI for large Fonts 120 DPI (= 125% scaled font in Windows 95)
/Nils
--
______________________________________________________________________________
_/ _/ _/ _/ _/_/_/
_/_/ _/ _/ _/ _/ _/ NHD-Softwaresysteme
_/ _/_/ _/_/_/_/ _/ _/ Dipl.-Inform. Nils H. Dzubiel
-/ _/ _/ _/ _/ _/ An der Rossmuehle 15
_/ _/ _/ _/ _/_/_/ 47835 Krefeld - Huels, Germany
"What do >you< care, what other people think ?"