lundi 2 mars 2015

How to make multiline TextBox pass MouseWheel events so that container is scrollable

I have a panel (UserControl) which needs to be mousewheel scrollable. On the panel are a number of multiline textboxes. Even though they do not have scroll bars, they capture the mousewheel events when they have focus. How can I pass the events through to the parent control, so that the panel scrolls with the mousewheel when the multiline textbox is selected?


Aucun commentaire:

Enregistrer un commentaire