|
-
April 2nd, 2009, 08:25 AM
#1
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)
-
April 2nd, 2009, 08:53 AM
#2
Re: Datagridview key events during editing
You can remove the event when starting to edit and after finished editing add the event again.
-
April 2nd, 2009, 09:03 AM
#3
Re: Datagridview key events during editing
 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.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|