Datagridview in Rhino Panel: [enter] does nothing

I’m using a DataGridView control in my VB.NET Winforms plugin. When a cell of the DataGridView is edited and [enter] is pressed, nothing happens. To commit the edit, I have to tab out of the cell. I can’t figure out why.

In a standalone windows form application with an identical datagridview control, [enter] commits the edit.

Does Rhino have a hook to the enter key or something? Any ideas why this is happening?

Hi Dave,

Is your form modal or modeless? Can you post the source to a simple example this is misbehaving?

Hi dale, here’s a simple example

https://dl.dropboxusercontent.com/u/30586759/MyProject1.zip

oh, and you can probably tell from the example, but I think this qualifies as a modeless form

I have not looked at your code yet. But I am guessing your problem is similar to this:

http://support.microsoft.com/kb/233263

See if the technique used in this sample is helpful.

https://github.com/dalefugier/ModelessFormTabProblem

Hello dale
I would like to see https://github.com/dalefugier/ModelessFormTabProblem to learn the technique.
But now the URL returns 404 error.
If you don’t mind, would you please re-upload ModelessFormTabProblem somewhere?

I found them.


I’m sorry bothering you.

The official samples repo can be found here:

– Dale

1 Like