I have a textbox that number are entered into. I am allowing the user to type a ‘-‘ to reduce the number by one, and ‘+’ to increase it by one. (In the Keyup method there is code looking for e.KeyCode = Keys.Subtract and = Keys.Add). The code does more then adding or subtracting but that is a side issues. What I am finding is that sometimes the user presses down on the ‘+’ or ‘-‘ keys to do rapid changes and the code crashes because it is trying to process ‘+++++++’ or ‘-------‘ etc.
I can try and handle this situation in several ways, but I am wondering if there is a command that pauses the keyboard processing, or puts the text in a buffer so the code can be handled in a reasonable way.
Any ideas? Suggestions?
Lion Crest Software Services
Anthony L. Testi
President
I can try and handle this situation in several ways, but I am wondering if there is a command that pauses the keyboard processing, or puts the text in a buffer so the code can be handled in a reasonable way.
Any ideas? Suggestions?
Lion Crest Software Services
Anthony L. Testi
President