Panel and Autoscroll

D

Don Gollahon

I have a PictureBox inside a panel with Autoscroll on. I've added buttons for rotate and zoom as well.

Currently only the vertical scrollbar shows which is what I want. But when I zoom on the image I want the
horizontal srollbar to appear as needed. I cannot figure out how to do that. Any suggestions?

VS 2003, C#.

Thanks.
 
H

Herfried K. Wagner [MVP]

Don Gollahon said:
I have a PictureBox inside a panel with Autoscroll on. I've added buttons
for rotate and zoom as well.

Currently only the vertical scrollbar shows which is what I want. But
when I zoom on the image I want the
horizontal srollbar to appear as needed. I cannot figure out how to do
that. Any suggestions?

It should appear automatically if the picturebox gets wider than the panel
containing it.
 
D

Don Gollahon

Herfried said:
It should appear automatically if the picturebox gets wider than the panel containing it.

I got this fixed. Thanks for your suggestions.
 

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