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
265
Multiple instances of tools with different states
posted

Hi

I'm not sure if this is possible as it probably misses the whole point of the ribbon.

We have a need to have multiple instances of a couple of tools on different ribbons. They need to be enabled/disabled independantly. Basically somelike like:

tool.instanceprops.enabled = true/false

The way we've done it at the moment is just to duplicate tools doing the same functions (just with a different key).

Thanks

Parents
No Data
Reply
  • 44743
    posted

    Certain properties can be set differently on instances of the same root tool. However, Enabled is not one of them, since it not only determines whether the enabled look of tools but also indicates whether shortcuts can be activated for the tool. They must either be all enabled or all disabled.

Children
No Data