?
=?ISO-8859-1?Q?Peter_Fastr=E9?=
hello
I have an ordinary datagrid in a vb.net application which displays
products. I used the keyup-event to show a dialogform where product
information can be edited. This works ok. But if the user then presses
enter to save the changes in this dialogform, the keyup-event of the
datagrid fires again.
How can I prevent this? This way you can only close the dialogform by
clicking on OK, which is not very user friendly.
I hope someone can help me, or at least give me a hint on how to solve
this...
Regards
Peter
I have an ordinary datagrid in a vb.net application which displays
products. I used the keyup-event to show a dialogform where product
information can be edited. This works ok. But if the user then presses
enter to save the changes in this dialogform, the keyup-event of the
datagrid fires again.
How can I prevent this? This way you can only close the dialogform by
clicking on OK, which is not very user friendly.
I hope someone can help me, or at least give me a hint on how to solve
this...
Regards
Peter