I have a form with multiple TextBox controls and few other controls like comboBox, checkBox etc. I'm trying to implement Undo functionality for all the controls in the form. I'm using Push & Pop operations of Stack to store the control values.
My question is regarding the TextBox control. I would like to know on which event of TextBox control i can save the Text in the stack. If i use TextChanged event, then this event is triggered on each character typed.
I also know that TextBox Base provides Undo functionality but i dont want to use that, since my form contains multiple TextBox and other controls as well. And i would like to perform the Undo operation in sequence. Please help!
My question is regarding the TextBox control. I would like to know on which event of TextBox control i can save the Text in the stack. If i use TextChanged event, then this event is triggered on each character typed.
I also know that TextBox Base provides Undo functionality but i dont want to use that, since my form contains multiple TextBox and other controls as well. And i would like to perform the Undo operation in sequence. Please help!
Comment