
18/05/2011, 09:07
|
| | Fecha de Ingreso: noviembre-2010 Ubicación: madrid
Mensajes: 478
Antigüedad: 14 años, 3 meses Puntos: 5 | |
Respuesta: Pasar textbox al grid Private Sub txtRefProvee_KeyPress(ByVal sender As Object, _
ByVal e As System.Windows.Forms.KeyPressEventArgs) _
Handles TextIdCaduca.KeyPress
' Si se pulsa la tecla Intro, pasar al siguiente
If e.KeyChar = Convert.ToChar(Keys.Return) Then
'If e.KeyChar = ChrW(Keys.Return) Then
e.Handled = True
TextRefProvee.Focus()
guardalineaFactura()
ElseIf e.KeyChar = "."c Then
' si se pulsa en el punto se convertirá en coma
e.Handled = True
SendKeys.Send(",")
End If
End Sub
LISTOOOOOO PARA QUIEN LO NECESITO, EL CÓDIGO DE ARRIBA QUE PONGO AL PRINCIPIO DE ESTA PREGUNTA....LO CARGO CUANDO LO MANDO PARA EL PRIMER TEXTBOX....JAJAJAJA...aquaaaaaaaa lo hizeeeeeeeeeeeee |