VBAHole22 Posted October 26, 2005 Posted October 26, 2005 I can't seem to figure out what seems to be a simple task. I have a tool that when clicked loads an image into a picture box on a win form. The images can be all different sizes. The goal is to make a fixed size win form that will hold the picture box. The picture box should expand to accomodate larger images and the user should be able to scroll to view the entire image. I tried adding scrollbar controls but I don't know how to hook up the scroll event. I also tried to use Autoscroll on the form but it doesn't actually scroll the picture box around. There has to be a way to do this but I'm missing it. Any suggestions? Quote Wanna-Be C# Superstar
Diesel Posted October 26, 2005 Posted October 26, 2005 AutoScroll should work. Play around with the AutoScrollMinSize property of the form. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.