|What is the best way to remove a MToolControl from main toolbar if part is deactivated? [message #1802011]
||Wed, 30 January 2019 16:57
| Thomas Fahrmeyer
Registered: July 2009
I have a part that contributes a MToolControl to the main toolbar not the part local toolbar. The needed behavior is that this toolcontrol is removed from the toolbar if a new part gets activated. It should behave like a Command where the handler is provided by the part. If the part gets deactivated, the handler will be removed and the command is deactivated.
What is the best way to achieve the toolcontrol removal if the providing part is deactivated?
Thanks in advance.
[Updated on: Thu, 31 January 2019 07:25]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01680 seconds