November 10th, 1999, 10:55 AM
Can somebody give an advise why keydown event of the grid does not work for arrow keys and PageUp, PageDown. How to make it work?
|
Click to See Complete Forum and Search --> : msflexgrid November 10th, 1999, 10:55 AM Can somebody give an advise why keydown event of the grid does not work for arrow keys and PageUp, PageDown. How to make it work? Chris Eastwood November 10th, 1999, 01:18 PM Annoying isn't it ? It's actually documented (somewhere) in the documentation / MSDN. You can get around this in two ways (that I've found) - - Place a textbox behind the Grid and use the keydown/press events there to capture the keystrokes (ie. set focus the the textbox when the grid get's focus) - SubClass the control and capture the keystrokes yourself (quite a bit of work if I remember correctly). Chris Eastwood CodeGuru - the website for developers http://codeguru.developer.com/vb codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |