Mouse Wheel Scrolling in ComboBox

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

2 Replies

AD Administrator Syncfusion Team 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


AD Administrator Syncfusion Team January 25, 2006 08:31 PM UTC

thank you, that works.

Loader.
Up arrow icon