Ver Mensaje Individual
  #1 (permalink)  
Antiguo 14/03/2009, 22:59
KingColt
 
Fecha de Ingreso: febrero-2008
Mensajes: 303
Antigüedad: 16 años, 2 meses
Puntos: 2
Como le quito el foco a un datagrid?

Bueno al cerrar un recordset desde el evento unload del form,si tengo seleccionada alguna celda del datagrid1 me envia un error, probe con un text.setfocus y se soluciono.

Pero es posible quitarle el foco a un datagrid?

Código:
    'Antes de cerrar le quito el foco al Datagrid1
    If Not Recordset Is Nothing Then  
        Set Recordset = Nothing  
    End If  
unload me