Panel and Autoscroll

  • Thread starter Thread starter Don Gollahon
  • Start date Start date
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.
 
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.
 
Herfried said:
It should appear automatically if the picturebox gets wider than the panel containing it.

I got this fixed. Thanks for your suggestions.
 
Back
Top