Greetings,
Is there an even similar to TextChanged that I can use that will fire when a textbox value has been updated?
Let me explain the situation, and why I dont think TextChanged is adequate.
I have numerous pairs of textboxes. One box for a metric value, and one for the corresponding imperial value. The user wants to be able to enter a number in either the metric or imperial one, and have the corresponding box update.
I have tried using TextChanged event. However, this event seems to fire as each digit of the number is changed, not the number as a whole. Any other events I can use that might work?
Additionally, both the metric and imperial boxes need the code in the event, so that the user can choose which one they are going to edit. So, I dont want the event to fire when I update the value in the box the user didnt enter it in. Any other way to do this besides some sort of global variable telling my code wether the change is coming from the user, or from my code?
Any ideas? Are there any other events I could use? Any other way to prevent the event from firing when I change the value in code?
Thanks in advance,
Draug
Is there an even similar to TextChanged that I can use that will fire when a textbox value has been updated?
Let me explain the situation, and why I dont think TextChanged is adequate.
I have numerous pairs of textboxes. One box for a metric value, and one for the corresponding imperial value. The user wants to be able to enter a number in either the metric or imperial one, and have the corresponding box update.
I have tried using TextChanged event. However, this event seems to fire as each digit of the number is changed, not the number as a whole. Any other events I can use that might work?
Additionally, both the metric and imperial boxes need the code in the event, so that the user can choose which one they are going to edit. So, I dont want the event to fire when I update the value in the box the user didnt enter it in. Any other way to do this besides some sort of global variable telling my code wether the change is coming from the user, or from my code?
Any ideas? Are there any other events I could use? Any other way to prevent the event from firing when I change the value in code?
Thanks in advance,
Draug