Autor Tema: SOLUCION DE SELECCIONAR TODO EL CONTENIDO DE UNA CELDA DEL DATAGRID1  (Leído 1443 veces)

0 Usuarios y 1 Visitante están viendo este tema.

obethermy

  • Megabyte
  • ***
  • Mensajes: 116
  • Reputación: +6/-7
    • Ver Perfil
NOTAS DE RECUERDOS

Código: (VB) [Seleccionar]

Private Sub Form_Load()
 DataGrid1.MarqueeStyle = dbgFloatingEditor
END SUB

Private Sub DataGrid1_RowColChange(LastRow As Variant, ByVal LastCol As Integer)
 If Not IsNull(LastRow) Then
  DataGrid1.EditActive = True
  DataGrid1.SelStart = 0
  DataGrid1.SelLength = Len(DataGrid1.Columns(DataGrid1.Col).Text)
 End If
End Sub