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
250
Making custom ribbon tools play nice with the QuickAccessToolbar
posted

I have a custom ribbon tool that contains a ButtonTool and a MenuTool within it, and I'm having some issues related to the QuickAccessToolbar.

- The user can right click on the ButtonTool and MenuTool within the custom tool and add them to the QuickAccessToolbar, instead of being able to add the custom tool itself to the QuickAccess toolbar.

- The custom tool is in the "Common Tools" dropdown, so it can be added to the QAT that way. But when you right click on the custom tool inside the QAT, it has a grayed out "Add to Quick Access Toolbar" option instead of a "Remove from Quick Access Toolbar".

Also, is there a way to customize the way a tool appears when it is placed in the QAT?

Parents
No Data
Reply
  • 54937
    Offline posted

    rwalsh said:
    But when you right click on the custom tool inside the QAT, it has a grayed out "Add to Quick Access Toolbar" option instead of a "Remove from Quick Access Toolbar".

    Do you have a sample that reproduces the issue? I tried modifying the Custom Tool sample in the Feature Browser to have igRibbon:RibbonToolHelper.IsQatCommonTool set to true on the CustomButtonTool in the sample and that correctly shows the Remove menu item when I right click on the instance in the QAT.

    rwalsh said:

    Also, is there a way to customize the way a tool appears when it is placed in the QAT?

    Currently there isn't a way to manipulate a tool's context menu. You should submit a suggestion with as much details as possible about the scenario.

Children