Control nextControl;
if (e.KeyCode == Keys.Enter)
{
nextControl = GetNextControl(ActiveControl, !e.Shift);
if (nextControl == null)
{
nextControl = GetNextControl(null, true);
}
nextControl.Focus();
e.SuppressKeyPress = true;
}
I have this code to act ENTER Key as TAB but when I press Enter key it is selecting textbox value as in image
You can tell the TextBox to select nothing