Thanks! But No, the NumericUpDown is just a standard control I picked up from
the toolbox under windows form and placed it in a form. when the program
runs, if you click mouse inside the NumericUpDown, you can change value use
either arrow key, clicking up/down button, or just the scroll the mouse. The
trouble is I can not make the NumericUpDown loose focus and let the form
capture the mouse scroll.
Mei
"Cor Ligthert [MVP]" wrote:
MH,
Normal an event is binded to one control. Did you maybe do some code to get
this general doing?
Cor
"MH-2004" <MH****@discussions.microsoft.com> schreef in bericht
news:6C**********************************@microsof t.com... Hi All,
I have a MDI form application. In a child form I placed a bunch of
NumericUpDown controls. The problem happens when I use the mouse scroll
button, the value in the NumericUpdown has changed and the form also
scrolls
out of control. How do I make the detatch those two types of controls so
that
only one gets the mouse scrolling event. I tried to override the
OnMouseWheel
event for the NumericUpDown, it seems that it did not get fired. I also
try
to let the NumericUpDown to loose control,-- no success!
Thanks much!