Keyboard in C#
C#
3
Posts
3
Posters
0
Views
1
Watching
-
-
Hi. I want to create a simple notepad. I used a multiline textbox. I wanted to create a shortcut for selecting all text in the textbox like pressing ctrl-A would select all text. Anybody knows how to do this? Please help me. "To teach is to learn twice"
textBox.SelectionStart = 0; textBox.SelectionLength = textBox.TextLength; And who modded the parent posting up to 5??? -- -Blake (com/bcdev/blake)
-
Hi. I want to create a simple notepad. I used a multiline textbox. I wanted to create a shortcut for selecting all text in the textbox like pressing ctrl-A would select all text. Anybody knows how to do this? Please help me. "To teach is to learn twice"
You can also use textBox.SelectAll().