This is a migrated thread and some comments may be shown as answers.

Mouse Wheel Capture

1 Answer 62 Views
NumericUpDown
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 25 Jul 2012, 08:57 PM
Hi,

Is there a way to have the NumericUpDown capture the mouse wheel? Whenever a NumericUpDown is inside a scrollable area, the larger scroll area also scrolls with the mousewheel, so you get 1-2 ticks of mousewheel on the updown, then you've scrolled the larger area and the mouse is no longer over the updown.

Thanks

1 Answer, 1 is accepted

Sort by
0
Boyan
Telerik team
answered on 30 Jul 2012, 11:05 AM
Hi Chris,

We managed to reproduce the bad behavior. I have logged it in our PITS where you can follow its progress. There is an easy workaround for this issue. Just attach to the MouseWheel event of the control and set:
private void RadNumericUpDown_MouseWheel(object sender, MouseWheelEventArgs e)
{
    e.Handled = true;
}

Please, excuse us for the inconvenience. We have added points to your account for the report. Don't hesitate to contact us if you have other questions.


Regards,
Boyan
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
NumericUpDown
Asked by
Chris
Top achievements
Rank 1
Answers by
Boyan
Telerik team
Share this question
or