Hi!
I've encountered a weird problem : after adding a ultrawingrid on a form, the form's keyUp event does not trigger.
I got there like this : I've created a new windows forms application, put a message box on the KeyUp event and tested it - it worked - after that, i've added the grid, and the messagebox showed up no more!
Any ideea on this issue ? is this a know issue, or it appears only on my machine ?
O'm using NetAdvantage 2010.v3, win7, VS2010
Thanks!
anybody could reproduce this ?
Hi,
If you have no other controls on the form, then the KeyUp will be handled by the only control on that form - the grid. So the KeyUp event of the grid should fire, not the KeyUp event of the form.
I would think this would be true of any control that handles KeyUp for any reason.
If you follow the steps you listed here and use a TextBox instead of a grid, you get the same results.
If you want the form to get first crack at any keystrokes, then I think you can set the form's KeyPreview property to true.
Thanks Mike, you're right!