Datagridview key events during editing
I use a datagridview where certain cells should be editable by typing (Editmode = EditOnEnter)
If the user presses F2 or F5 in a cell there should pop up a form where he can do a selection of a range of values that will be passed to the cell
When the user is editing the cell the event for keyup (and keydown, keypress etc) do not fire anymore.
How can I catch the keyup event in editmode ?
The event should trigger on F2 or F5 (using other keys is not an option)
Re: Datagridview key events during editing
You can remove the event when starting to edit and after finished editing add the event again.
Re: Datagridview key events during editing
Quote:
Originally Posted by
dannystommen
You can remove the event when starting to edit and after finished editing add the event again.
Just the other way round, there is no keyup event anymore in editmode with editonenter as editmode. I want to create an event, not remove it.