Click to See Complete Forum and Search --> : How to Trap arrow key movements in MSFlexGrid


October 12th, 1999, 04:54 AM
How can I trap arrow key movements in MsFlexGrid.

Ravindra

Chris Eastwood
October 12th, 1999, 03:00 PM
I spent ages trying to capture the keydown messages for cursor keys in the flexgrid with subclassing, but then I found a much easier way.

You can 'hide' a textbox behind the flexgrid and make sure that it always gets the focus when the FlexGrid should, this way you can capture all the keystrokes you like in the textbox and then 'pass' them onto the flexgrid (it's a bit of work though).



Chris Eastwood

CodeGuru - the website for developers
http://codeguru.developer.com/vb