G
Guest
I have a Datagrid that is inside a panel. I want to use the keyDown event to
reconize the arrow keys. But I have no luck at all. The problem is that the
keydown event won't fire at all, unless I click on a row (withs will turn
blue then) and then click on it again . Now if I press any key the event will
fire (except for the arrow keys).
I also tried to override the IsInputKey => no luck.
I also tried to override the ProcessCmdKey => With this I can atleast
capture the arrow keys but I still can't get the datagrid.keydown event to
fire unless I call the event in de ProcessCmdKey but I don't think this is
the way to do it.
Does anyone know why the keydown event won't fire in a datagrid ?
Bardo
reconize the arrow keys. But I have no luck at all. The problem is that the
keydown event won't fire at all, unless I click on a row (withs will turn
blue then) and then click on it again . Now if I press any key the event will
fire (except for the arrow keys).
I also tried to override the IsInputKey => no luck.
I also tried to override the ProcessCmdKey => With this I can atleast
capture the arrow keys but I still can't get the datagrid.keydown event to
fire unless I call the event in de ProcessCmdKey but I don't think this is
the way to do it.
Does anyone know why the keydown event won't fire in a datagrid ?
Bardo