Today is better, just in order to discover a small door to a keyboard control.
Many articles have similar introductions, such as pressing ENTER keys, cursor moves to the next article.
However, I have never known, how to open it, that is, the cursor is going back to the previous control.
I like it, use Google, I don't search, I know myself. I started to make a button, but I won't go back. Later I thought of the Tab key, with the control key plus the Tab key trial.
Ctrl Tab, Alt Tab, haha, is:
Shift Tab
I will use SendKeys, how to check Shift Tab. Still some trouble, help in (EC).
Missing, { Tab}, { } {tab} ......, in all the combination you can think of, all tried
success:
Correct writing:
SendKeys.send (" {tab}");
Example:
Private void Txtminfo_KeyDown
Object sender, KeyEventArgs E)
{
// Jump backward
IF (e.keycode == keys.enter || E.Keycode == Keys.Right)
{
SendKeys.send ("{tab}");
// Jump forward
Else if (e.keycode == keys.left || E.Keycode == Keys.up)
{
SendKeys.send (" {Tab}");
}
It's very simple, but it is very practical.