There's no automatic solution to this. If you set AutoScroll to true, then
the scrollbars will appear based on the contents of panel (too wide to
display, you get a horizontal bar, too short to display, you get a vertical
bar).
Your best bet is probably to add a scrollbar control yourself, and then
track events on it. When the user scrolls the scrollbar, you have code to
scroll/shift the panel's view.
Just add the panel control then add a scrollbar control to the panel...you
can set the dock property to the type of scroll bar, i.e., right, left,
bottom, or top.
Just add the panel control then add a scrollbar control to the panel...you
can set the dock property to the type of scroll bar, i.e., right, left,
bottom, or top.
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.