For Programmers: Free Programming Magazines  


Home > Archive > Delphi > June 2004 > How big is a pixel?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author How big is a pixel?
Tormod Carstens

2004-06-03, 7:26 pm

I have made a form with a WIDTH property of 1024 pixels.

My desktop has a resolution og 1280 x 1024.

Yet, the form is at least 1/3 smaller than the desktop.

Why?

Tormod


NoRemorse

2004-06-03, 7:26 pm


"Tormod Carstens" <hovmod@start.no> wrote in message
news:lMJuc.6473$Vf.295128@news000.worldonline.dk...
> I have made a form with a WIDTH property of 1024 pixels.
>
> My desktop has a resolution og 1280 x 1024.
>
> Yet, the form is at least 1/3 smaller than the desktop.
>
> Why?
>
> Tormod


Check the constraints properties. You may have accidentally entered some
values in there that limit the size of the form.

--
NoRemorse
"Expect me when you see me."


Justus J.

2004-06-03, 7:26 pm

The forms width = 1024, your screen width = 1280, so the first one is 80%
smaller, or the second one is 125% bigger. What's the problem?

Justus

--------

"Tormod Carstens" <hovmod@start.no> wrote in message
news:lMJuc.6473$Vf.295128@news000.worldonline.dk...
> I have made a form with a WIDTH property of 1024 pixels.
>
> My desktop has a resolution og 1280 x 1024.
>
> Yet, the form is at least 1/3 smaller than the desktop.
>
> Why?
>
> Tormod
>
>



Jamie

2004-06-03, 7:26 pm


Tormod Carstens wrote:
> I have made a form with a WIDTH property of 1024 pixels.
>
> My desktop has a resolution og 1280 x 1024.
>
> Yet, the form is at least 1/3 smaller than the desktop.
>
> Why?
>
> Tormod

looks normal to me.
do the math, its .8 difference and to make sure
do a messagedlg popup some where to report to you the
actual size of your form.
P.S.
the scaling factor has something to do with it if you
the Scale property := true; it may use the systems
font size.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com