Alternative Ctrl-Tab !?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I would like to create a new shortcut key for "switch to the next tab" to
make the data entry easier (by using only right hand) by using Crtl+Insert
buttons. Any suggestion?
 
You could set the forms KeyPreview property to Yes, then write some code
inside the BeforeKeyDown event of the tab control to test to determine
whether the Ctrl and Insert buttons were pressed simultaneously. Is so, you
could then move to the next page of the tab control.

However, from my experience, it is preferable to use both hands (one for
each key when you want to perform this type of operation), and using the
insert key requires the user to take their hands away from the main portion
of the keyboard. I think I would use something like "Alt-T".

HTH
Dale
 
Actually, on testing, you propbably need to put the code in the Forms
KeyPress event. Which means you would also need to test to determine
whether the control with the focus is one of the tabs or the controls on the
tab. This might not be as easy as I previously thought.

Dale
 
Back
Top