Panel + PictureBox + AutoScroll ?

C

Chris Morse

I'm trying to figure out how to get Panel to autoscroll a picturebox
that changes size. Initially, the picture box is the same size as the
panel, but when I add a "zoom" function that doubles the picturebox's
size, the panel does not display any scroll bars.

Now, even in the IDE designer, I cann't get scroll bars to appear.
I've set the AutoScroll to True and nothing seems to work.

Any suggestions?

// CHRIS
 
C

Chris Morse

I'm trying to figure out how to get Panel to autoscroll a picturebox
that changes size. Initially, the picture box is the same size as the
panel, but when I add a "zoom" function that doubles the picturebox's
size, the panel does not display any scroll bars.

Now, even in the IDE designer, I cann't get scroll bars to appear.
I've set the AutoScroll to True and nothing seems to work.

Any suggestions?

// CHRIS

Nevermind.. I had originally used CUT/PASTE to add my picture box to
the panel; I deleted it and created a new one and now it works as
expected. Strange..

// CHRIS
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top