
11/04/2008, 16:40
|
| | Fecha de Ingreso: octubre-2003
Mensajes: 101
Antigüedad: 21 años, 4 meses Puntos: 0 | |
Re: C#: Como puedo sustituir la tecla TAB por Enter ?? Cita:
Iniciado por royrojas Casi casi...te faltó poco
seria asi.
Código:
private void textBox1_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.Enter)
this.textBox2.Focus();
}
y en el designer algo asi
Código:
this.textBox1.KeyDown += this.textBox1_KeyDown;
excelente ..gracias!!!   |