i wonder if you could either use:
1) the hotkey code on a property sheet
2) focusing on the tabs you want based on the key you pressed.
1) to do this, I have put something like "&Hide" in the caption property of a cmd button. hence, the shortcut key for pushing the button is Ctrl+H. not sure if you can do that with tabs too, but you could try some focus code behind a button with a caption like "&1" or "&one"
2) i think key press events are only limited to special keys, like tab, enter, etc... I am not sure if you can apply tis event to actual character strokes. I have tested this and I cannot get anything to print when pressing letters. so I think you're stuck with those special keys. if you want to check on the KEYCODE though, I think you'll need an integer. such as:
Code:
if keycode = 69 then
do something
end if
check out these articles for the integers that are assigned:
http://support.microsoft.com/kb/113547
http://support.microsoft.com/kb/210401