How to turn off mousewheel event?

Hello all.

Is there a way to turn off the mouse wheel event so it does not scroll a canvas?
Thank you,


Remove the Canvas.MouseWheel event from your code?

It still moves the canvas on the form.

Oh in the IDE? You mean it scrolls the window?

No, in my app. I just found that there was code elsewhere that is causing the issue.
Sorry for the bother…