I have a panel on my form with AutoScroll set to true so a scrollbar appears automatically.
How can I make it so a user can use his mouse wheel to scroll the panel? Thanks SO.
What worked for me was adding panel1_MouseEnter EventHandler:
panel1_MouseEnter
private void panel1_MouseEnter(object sender, EventArgs e) { panel1.Focus(); }
2.1m questions
2.1m answers
60 comments
57.0k users