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
300
UltraToolBarsManager - Shortcut not working inside MDI Child.
posted

I have a Form, which has a MDI child, which in turn has a user control which has an UltraToolBarsManager. I had assigned Shortcuts for the menu items. When i use the Shortcut, they are not working. But when the usercontrol containing the UltraToolBarsManager is having the Focus, the shortcut works. Is it possible to make the Shortcut work in all cases?

Note:

1. The parent form doesn't have any Menu item.

2. Currently i had patched by capturing 'ctrl' click and setting the focus to the usercontrol containing the UltraToolBar. It works but, I've lost general ctrl+c and ctrl+v behavior for the form.

  • 53790
    posted

    Hello Sandeeptc,

     

    As far as I know this is expected behavior for such scenarios. Maybe one possible approach to achieve the desire behavior of your shortcuts could be to add an UltraToolbarManager (without any tools) at your Main form – the form which is MDI container. Then add second UltraToolbarManager, but in your MDIChild form which contains your UserControl. Doing so you would be able to use menu tools merging and your shortcuts will work regardless of the control which currently has focus.

     

    Please take a look at the attached sample for more details. Please if you have any questions, do not hesitate to ask me.

     

    Regards

    UltraToolbarManagerMDIShortcuts.zip