SyntaxFix
Write A Post
Hire A Developer
Questions
You can put a KeyPress handler on your TextBoxes, and see which key was used.
KeyPress
To handle the text selection, put a handler on the GotFocus event.
GotFocus
You may also want to consider how to (or if you need to) handle multi-line TextBoxes.