0

Possible Duplicate:
Disable default shortcuts on a TabControl

How can I prevent users from using Ctrl + Tab or Ctrl + Shift + Tab to switch between tabpages?

Community
  • 1
  • 1
Andrew
  • 2,519
  • 6
  • 29
  • 46
  • 2
    why on earth would you want to do something like this?? – vidstige Jun 27 '11 at 21:26
  • 1
    Keyboard shortcuts are a pretty basic accessibility feature - I would hate it if I was expecting to be able to use them, and then found out that some programmer out there decided not to let me. – Ken Wayne VanderLinde Jun 27 '11 at 21:44
  • 1
    You can use Tab Controls to emulate Wizard functionality, whereby each tab represents a page or step of the wizard. The tab headers themselves are hidden and navigation between the tab pages is controlled by buttons (Back and Next). If there is further functionality associated with the buttons (e.g. prerequisites for showing a page), I can imagine that you would not want the user bypassing this. – Optavius Jun 10 '16 at 13:38

1 Answers1

0

See Stack Overflow question Best way to implement keyboard shortcuts in a Windows Forms application?.

Community
  • 1
  • 1
Andrew
  • 2,519
  • 6
  • 29
  • 46