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(); }
1.4m articles
1.4m replys
5 comments
57.0k users