Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
45
Tab key press on ComboBoxTool
posted

I have toolbar with lots of tools. I need to hold the tab press. Is there any way to catch tab press. I subscribed to .ToolKeyPress, .ToolKeyDown. I get the messages on any key press, shift press, but no Tab key. 

Any way out?

Thanks in advance!

Parents
No Data
Reply
  • 44743
    Suggested Answer
    posted

    The editor tools do not accept the tab key because it is used for navigation. You can determine when tab is pressed by overriding ProcessKeyPreview on your Form and seeing when the message is WM_KEYUP and the WParam is (int)Keys.Tab.

Children
No Data