G
Guest
Hi,
I have a form with a TextBox and a NumericUpDown on it. NumericUpDown's
CausesValidation is true. I subscribe for NumericUpDown.ValueChanged. I
experience the following problem:
If I change the value from arrows, the ValueChanged event is fired as
expected.
If I enter value in NumericUpdown from keyboard (not arrows) and I press
ENTER, the ValueChanged event is fired as expected.
If I enter value in NumericUpDown from keyboard (not arrows) and I simply
move the focus to the text box by pressing TAB or simply clicking on the text
box with the mouse the ValueChanged event is NOT fired. Is this behaviour as
expected?
How do I get notification when the value gets changed no matter how?
I also noticed that when I change the value of NumericUpDown from from
keyboard (not arrows) the event is not fired but if I change from arrows
after that, the event fires twice
Thanks
I have a form with a TextBox and a NumericUpDown on it. NumericUpDown's
CausesValidation is true. I subscribe for NumericUpDown.ValueChanged. I
experience the following problem:
If I change the value from arrows, the ValueChanged event is fired as
expected.
If I enter value in NumericUpdown from keyboard (not arrows) and I press
ENTER, the ValueChanged event is fired as expected.
If I enter value in NumericUpDown from keyboard (not arrows) and I simply
move the focus to the text box by pressing TAB or simply clicking on the text
box with the mouse the ValueChanged event is NOT fired. Is this behaviour as
expected?
How do I get notification when the value gets changed no matter how?
I also noticed that when I change the value of NumericUpDown from from
keyboard (not arrows) the event is not fired but if I change from arrows
after that, the event fires twice
Thanks