Forward mouse scroll event from child UserControl to parent

夙愿已清 提交于 2019-12-24 06:49:10

问题


I want to forward the mouse scroll event from a control to its direct parent (which is also UserControl in my case).

How is this possible?

Edit The control is added to a control that is scrollable. Like a memo-edit for example.

When the user scrolls in the memo-control, the memo-control is scrolled (!) But when the user scrolls on top of the custom control the event is not forwared to the parent control and the memo-control does not scroll.

来源:https://stackoverflow.com/questions/10041923/forward-mouse-scroll-event-from-child-usercontrol-to-parent

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!