Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CellEnter event blues
Message
 
To
All
General information
Forum:
ASP.NET
Category:
Forms
Title:
CellEnter event blues
Environment versions
Environment:
VB 8.0
OS:
Vista
Network:
Windows XP
Database:
Jet/Access Engine
Application:
Desktop
Miscellaneous
Thread ID:
01493921
Message ID:
01493921
Views:
150
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.
Next
Reply
Map
View

Click here to load this message in the networking platform