I have a windows form that includes one menubar at the top and one statusbar at the bottom. The window is scrollable, but when I scroll it lets say down, the menubar stays up so that I cant see it anymore, the same happens with the statusbar if i scroll up. Is there any way to make them visible at all times, like that they scroll with the screen, or as always on top?
Asked
Active
Viewed 2,050 times
1 Answers
5
For creating a scrollable content, do this procedure :
- Add a new window
- Add MenuStrip and StatusStrip
- Add Panel , set
AutoScroll
totrue
,Dock
toFill
- Append all controls to panel.

Mironline
- 2,755
- 7
- 35
- 61
-
Thank you, it works. But, I can only move it with the scrollbar, is there any way I could set the scrolling to the mouse wheel? – Marek Buchtela Dec 29 '12 at 18:56
-
1You have to put something inside the panel that can receive the focus. A panel can't get the focus. See http://stackoverflow.com/a/3562449/17034 – Hans Passant Dec 29 '12 at 19:03