Ver Mensaje Individual
  #4 (permalink)  
Antiguo 15/10/2008, 00:40
kyha
 
Fecha de Ingreso: junio-2008
Ubicación: Valencia
Mensajes: 152
Antigüedad: 15 años, 10 meses
Puntos: 3
De acuerdo Respuesta: dar Foco a textbox en celda Datagridview

Hola a tod@s:

_En el evento grid2_EditingControlShowing añadimos las siguientes lineas:
If grid2.CurrentCell.ColumnIndex = 2 Then
If grid2.CurrentRow.Index <> -1 Then
grid2.Rows(grid2.CurrentRow.Index).Cells(2).Detach EditingControl() 'Quitamos a celda la edicion
txbtnControl.textbox1.Focus() 'Damos el foco al textbox de la celda
End if
End If

Perdon por tardar tanto en responder se me olvido.GRACIAS a tod@s.