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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Mouse Wheel Scrolling in ComboBox

Thread ID:

Created:

Updated:

Platform:

Replies:

40067 Jan 24,2006 06:28 PM UTC Jan 25,2006 08:31 PM UTC Windows Forms 2
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On January 24, 2006 06:28 PM UTC

I am wondering if it is possible to use the wheel mouse to scroll the drop down for celltype ComboBox. thanks, Patrick

Administrator [Syncfusion]
Replied On January 24, 2006 06:47 PM UTC

Patrick, the GridListControl celltype has built-in support for MouseWheel scrolling. In the combobox renderer this is missing. You would have to derive the combobox cell renderer and override this method: /// public override bool ProcessMouseWheel(MouseEventArgs e) { if (this.IsDroppedDown) { if (e.Delta < 0) this.ListBoxPart.TopIndex++; else this.ListBoxPart.TopIndex--; return true; } return false; } We will add this code also in our code base for the combobox cell renderer. Stefan >I am wondering if it is possible to use the wheel mouse to scroll the drop down for celltype ComboBox. > >thanks, >Patrick

Administrator [Syncfusion]
Replied On January 25, 2006 08:31 PM UTC

thank you, that works.

CONFIRMATION

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.

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

;