Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

tab key navigation C# winforms

private void TextBox1_KeyDown(System.Object sender, System.Windows.Forms.KeyEventArgs e)
{
    if (e.KeyCode == Keys.Enter) {
        SendKeys.Send("{tab}");
        e.SuppressKeyPress = true;
    }
}
Source by www.aspsnippets.com #
 
PREVIOUS NEXT
Tagged: #tab #key #navigation #winforms
ADD COMMENT
Topic
Name
2+1 =