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
3166
Typing in UltraTextEditor raised ToolbarManager shortcut
posted

I am using Infragistics CAB ToolBaseCommandAdapter. I have noticed a bug when typing some keystroke the toolbar manager commands are raised.

ToolBaseCommandAdapter.OnEventInvoked

How do I prevent the ToolbarManager get UltraTextEditor keystrokes ?

Parents
No Data
Reply
  • 69832
    Verified Answer
    Offline posted

    I'm not sure why you think this is a bug, but if you assign a particular keystroke as a shortcut, it is supposed to be processed as a mnemonic when that keystroke is typed. Typically one makes the key combination one that a user is extremely unlikely to type inadvertantly, for example, something that includes the Alt key.

    I don't think UltraToolbarsManager has an awareness of which control triggered the key combination, but the form's ActiveControl property should return the UltraTextEditor in this situation, so you could probably add code to not execute the toolbar command when that control is the ActiveControl.

Children