We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Mousewheel scrolling

Thread ID:





29811 Jun 3,2005 09:19 AM UTC Jun 3,2005 11:24 AM UTC WinForms 1
Tags: GridControl
Mike Woolley
Asked On June 3, 2005 09:19 AM UTC

I''m using a grid embedded within my own ScrollableControl. The grid displays a horizontal scrollbar, and the control in which it is embedded displays a vertical one. When I select a row in the grid and move the mousewheel, the grid scrolls horizontally and the parent control scrolls vertically, which is a little confusing to say the least! Can I switch off the mousewheel horizontal scrolling in the grid?

Administrator [Syncfusion]
Replied On June 3, 2005 11:24 AM UTC

You can try deriving the grid class and override OnMouseWheel and not call the base class.
public class MyGridControl : GridControl
	protected override void OnMouseWheel(MouseEventArgs e)
		//base.OnMouseWheel (e);


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon