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
379
Limited shortcut key combinations for windows forms UltraToolbarManager
posted

Hi, I'm using the UltraToolbarManager (NetAdvantage 2008 vol. 2, .NET 2.0) to allow shortcut key configuration, but the list of keys you can assign only seems to include the F-keys, or ctrl/alt and the number and letter keys (as well as insert and delete).

I believe this is because these are all the shortcuts that windows forms provides by default, but there are some pretty commonly used shortcut keys missed out, mainly the symbol keys, -, +, [, ], <, > etc.

Does anyone know of a way to add these keys to the configurable key list in Infragistics UltraToolbarManager?

Parents
No Data
Reply
  • 5389
    Suggested Answer
    posted

    LCIGmbH,

    After discussing this with one of our developers, it looks like there is a way to add your own custom shortcut keys.  To do this, you need to cast the keys to a Shortcut and then set it to the Tool's SharedProps.Shortcut property.  If you want a combination of keys, you will need to combine them using an "or" before casting to a Shortcut:

    tool.SharedProps.Shortcut = (Shortcut)( Keys.Control | Keys.Down );

    ~Kim~

Children