How can I trap arrow key movements in MsFlexGrid.
Ravindra
Printable View
How can I trap arrow key movements in MsFlexGrid.
Ravindra
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