2
Contributors
4
Replies
5
Views
10 Years
Discussion Span
Last Post by Nemoticchigga
0

Assuming you mean Windows Forms, a lot of controls are scrollable, like TextBox and Panel. You can also inherit the ScrollableControl class and write your own if none of the existing controls work out.

0

In borland I could place a picture box on the scrollbox and it would take care of scrolling. I was wondering if there is a "scrollbox" to place my picturebox on in windows forms to do the same thing. I think you answered it with the inherit/writing my own scroll code, but I didnt know if there was an easier way.

0

Put the picture box on a panel, and set the panel's AutoScroll property to true. Whenever the picture box's height or width exceeds the panel's height or width, scroll bars will automatically show up.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.