By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,949 Members | 889 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,949 IT Pros & Developers. It's quick & easy.

Passing On PageUp PageDown Keystrokes from a Datagrid

P: n/a
I have a datagrid on a tabcontrol and want PageUp and PageDown to change tabs
on the tabcontrol but when on the datagrid the keystrokes get captured by the
datagrid. I've created my own datagrid object from the base object in order
to override ProcessCmdKey and am able to capture the keystroke however my
problem is how to pass that onto the tabcontrol or form.

I do this in many places (forms) and therefore need a solution that allows
the datagrid to be generic as opposed to explicitly changing the tab within
the custom datagrid.
Apr 24 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.