datagrid & KeyUp event

  • Thread starter =?ISO-8859-1?Q?Peter_Fastr=E9?=
  • Start date
?

=?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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top