Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CellEnter event blues
Message
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Versions des environnements
Environment:
VB 8.0
OS:
Vista
Network:
Windows XP
Database:
Jet/Access Engine
Application:
Desktop
Divers
Thread ID:
01493921
Message ID:
01493988
Vues:
54
From what Bonnie and you seem to say, I conclude that I must have done something wrong. Thanks for all the help.

>>>>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?

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

Click here to load this message in the networking platform