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
2114
Associate a Shortcut to a ButtonTool
posted

Is it possible to associate the 'Ctrl' + '-' to a ButtonTool?

objButtonTool.SharedProps.Shortcut = ???

There is no such a combination in System.Windows.Forms.Shortcut enumeration...

Parents
No Data
Reply
  • 2114
    Verified Answer
    posted

    Oh, found by myself

    objButtonTool.SharedProps.Shortcut = CType(Keys.Control Or Keys.Subtract, System.Windows.Forms.Shortcut) 
Children
No Data