Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CellEnter event blues
Message
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Titre:
CellEnter event blues
Versions des environnements
Environment:
VB 8.0
OS:
Vista
Network:
Windows XP
Database:
Jet/Access Engine
Application:
Desktop
Divers
Thread ID:
01493921
Message ID:
01493921
Vues:
151
I have this routine that works fine for me :
    Sub grdbase1_CellEnter(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles GrdBase1.CellEnter
        If GrdBase1.CurrentCell.ReadOnly = True Then
            SendKeys.Send("{TAB}")
            Exit Sub
        End If
        If GrdBase1.columnDisabled(e.ColumnIndex) = True Then
            SendKeys.Send("{TAB}")
            Exit Sub
        End If
    End Sub
Now I wanted to move this logic to my grdbase (datagridviewbase), but the editor tells me that there is no such thing as a cellEnter event.

What am I missing?

Thanks and kind regards,

Marc

If things have the tendency to go your way, do not worry. It won't last. Jules Renard.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform