-
What unit of measurment does VB use by defualt (eg form.width)? and far more importantly, how can I find out how many units there are verticaly and horizontaly on my screen (not form). Is there a 'pixels to VB Units' conversion ratio??? eg does 800x600 equate to 10,000x6,500 or something like that??
-
Twips is the default metrics, and it's usually 15 twips on a pixel, you can use screen.twipsperpixelX screen.twipsperpixelY to get this or use scalex, and scaly method.
Screen.width returns width in twips
Screen.height returns height in twips
Screen.widths/creen.twipsperpixelX returns width in pixels Screen.height/screen.twipsperpixelY returns height in pixels