I have a problem with the Keypressed event of a textbox. When the event fires (e.g. user presses key) i want to conditionaly accept or reject the key for input in the textbox.
Does anyone know how to do this?
I've tried :
- Keyboard buffer flush
- Not passing the parameters to the dodefault()
- Not calling dodefault at all
- Inserting backspace in the keyboard buffer (that one was funny!)
Kind Regards, Wim.
---
Life is like a box of chocolates