Hi There!
On a windows form, I have a tabcontrol with several tabpages on it. What I want to do is be able to have "F1" set as a shortcut to the first tabpage, "F2" for the second etc. for all the tabpages.
I tried setting up a keypress event for the actual form, but it never fired. Can I just set up a shortcut? Or, if not, how on earth do I catch the keypress event.
Note that the form is an mdiChild, but it is this mdiChild that has the tabcontrol on it.
Please provide some feedback asap.
Thanks,
Mish
On a windows form, I have a tabcontrol with several tabpages on it. What I want to do is be able to have "F1" set as a shortcut to the first tabpage, "F2" for the second etc. for all the tabpages.
I tried setting up a keypress event for the actual form, but it never fired. Can I just set up a shortcut? Or, if not, how on earth do I catch the keypress event.
Note that the form is an mdiChild, but it is this mdiChild that has the tabcontrol on it.
Please provide some feedback asap.
Thanks,
Mish