>>
>Now why my approach of developing code in an instantiated grid and move and adapt it to the base class worked for CellValidating but not for CellEnter is one riddle I sitll have to live with ... I guess
>>
>>Probably because you remembered to wire up the delegate for the CellValidating event, but not for the CellEnter event.
>>>>' You probably remembered this one
>>AddHandler CellValidating, AddressOf grdbase_CellValidating
>>' But not this one
>>AddHandler CellEnter, AddressOf grdbase_CellEnter
>>
>>>Interestingly I did not need to addhandler CellValidating, because handles me.CellValidating worked. But handles me.CellEnter did not, that's why I asked my question in the first place.
Hmm. Wasn't clear from your original post exactly what you had tried but that syntax should also have worked like so:
Public Sub HandleCellValidating(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellValidatingEventArgs) _
Handles Me.CellValidating
End Sub
Public Sub HandleCellEnter(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) _
Handles Me.CellEnter
End Sub
Maybe trying with the wrong parameters?