Evento INTRO

10/11/2005 - 11:37 por Juanjo | Informe spam
Hola a todos:

Quisiera saber como puedo hacer que cuando este en un textbox y pulse la
tecla INTRO se valla a otro textbox segun el TabOrder

Muchas Gracias
 

Leer las respuestas

#1 Lord Voldemort
10/11/2005 - 16:47 | Informe spam
una opcion podria ser .

Private Sub TextBox1_KeyPress(ByVal sender As Object, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress

If e.KeyChar = Chr(Keys.Enter) Then

e.Handled = True

SendKeys.SendWait(Chr(Keys.Tab))

End If

End Sub




"Juanjo" wrote in message
news:
Hola a todos:

Quisiera saber como puedo hacer que cuando este en un textbox y pulse la
tecla INTRO se valla a otro textbox segun el TabOrder

Muchas Gracias

Preguntas similares