Howdy all,
Just wondering if theres a simple equation needed to set the scaleheight of a Picturebox when its ScaleMode is set to pixels, using the Height property.
Something like..
I'm hoping to set the scaleheight to a certain number, but doing that normally does nothing but change the ScaleMode to User, thinking I'm making my own scale.VB Code:
PictureBox.Height = 38 * Screen.TwipsPerPixelY
Any help is greatly appreciated.
chem




Reply With Quote