KeyUp in datagridview with EditOnEnter not working

JanAntwerpen

Member
Joined
Nov 5, 2013
Messages
8
Programming Experience
Beginner
Hello People!

I have a problem in my DataGridView:
I like to have a cell Always be in editmode as I enter it. (DataGridView.EditMode = EditOnEnter) This works perfectly!

I want to use the function-keys F7 and F8 for two different things: F7 adds a new record, F8 opens the selected datagridviewrow in a new window and shows some extra data.
This does not work as long as the DataGridView.EditMode is EditOnEnter. As soon as it is set to EditOnKeystrokeOrF2, this works just fine.

BUT!! I need both to work at the same time!

Anyone know an answer/workaround for this problem?

THX!
 
Back
Top Bottom