Why an application developed in VB.Net on a screen with a resolution 12
TwipsPerPixelX and 12 TwipsPerPixelY will change the size (in pixels) of the
controls when it runs on a computer with a 15 TwipsPerPixelX screen
resolution. I mean, I have an application with a “Form” with 900 pixels width
in a 12 TwipsPerPixelX screen and when I run it on a computer with a 15
TwipsPerPixelX screen resolution, same “Form” has less the 850 pixels. I need
all the pixels. How can I manage this, because it’s a big error.
Bishoy Ghaly - 16 Oct 2004 13:55 GMT
You should use Screen.twipsperpixelX and Screen.twipsperpixelY to adjust the
form size according to the screen TwipsPerPixel with your original
dimensions by Pixel
> Why an application developed in VB.Net on a screen with a resolution 12
> TwipsPerPixelX and 12 TwipsPerPixelY will change the size (in pixels) of
[quoted text clipped - 6 lines]
> I need
> all the pixels. How can I manage this, because it???s a big error.
Dennis - 17 Oct 2004 21:37 GMT
I don't see a TwipsPerPIxel property or method in the .Net Screen Class. Am
I missing something?
> You should use Screen.twipsperpixelX and Screen.twipsperpixelY to adjust the
> form size according to the screen TwipsPerPixel with your original
[quoted text clipped - 10 lines]
> > I need
> > all the pixels. How can I manage this, because it’s a big error.
Larry Serflaten - 16 Oct 2004 14:19 GMT
> Why an application developed in VB.Net on a screen with a resolution 12
> TwipsPerPixelX and 12 TwipsPerPixelY will change the size (in pixels) of the
[quoted text clipped - 3 lines]
> TwipsPerPixelX screen resolution, same bFormb has less the 850 pixels. I need
> all the pixels. How can I manage this, because itbs a big error.
See if setting the form's MinWidth property will help....
LFS