1

Resolved

MouseWheelActiveOnFocus="True"

description

MouseWheelActiveOnFocus="True" not working anymore since update to 1.9.0.0.

Previous 1.8.0.0 work as expected by update filed with mouse wheel if mousepointer is over field without focus.

But since 1.9.0.0 only "false" mode with focused filed working.

comments

MarcusEU wrote Apr 18, 2013 at 9:16 AM

I'dont know if it was a bug in the previous versions or how to interprete the Property exactly, but i love the previous behaviour to increment by mouse wheele without focusing the filed.

Do get this back i change the code in file "UpDownBase.cs" in Line 283

from

if( !e.Handled && AllowSpin && !IsReadOnly && ( TextBox.IsFocused && MouseWheelActiveOnFocus ) )

to

if( !e.Handled && AllowSpin && !IsReadOnly && ( TextBox.IsFocused || ! MouseWheelActiveOnFocus ) )

Regards
Marcus

emartin wrote Apr 19, 2013 at 12:55 PM

I found the orignal behavior.
As you expressed, if set to "False" (default. True), MouseWheelActiveOnFocus allowed to spin the value with the mouse wheel with or without the focus.

For sure, that was not an intuitive way offer a feature.
A new property with a 3 states enum, and setting that as obsolete will probably be the way to go.

dlafontaine wrote May 7, 2013 at 4:09 PM

Fixed in v2.0