event handler for modified text
Posted on 2006-06-14
What is the best event Handler to determine when text has changed for a textbox?
I tried TextChanged and it automatically enables the button. I used Validated and that works okay when the user tabs or moves to another control.
But it enables the button even if no text is changed, all it takes is to move to another control.
so If I have an empty text box and I tab to another the save button is enabled.
What do I need to use to check when text has been modified?
Thanks for your help.