L
Lina
Hi!
I have made a template that has a custom Toolbar. The Toolbar has some
popupmenus and buttons. One of the commandbarbuttons is calling a macro that
shows or hides a picture in the header. I am now trying to make the button
to toggle so that when the picture is shown the button is pushed or
highlighted, and v v, like the "Track changes"-button. It works fine but the
setting effects the commandbar in all open documents. For exampel:
Document A - picture is shown and button is highlighted
Document B - picture is shown and button is highligheted , so far is
everything ok. Then I presses the button in document B and the picture is
hidden and the button is not highlighted. If I then go back to Document A
the picture is shown but the button is not highlighted which it should be.
I have tryed to set the CustomizationContext but I can´t get it work the
way I want. Can someone please help me?
Many thanks / Lina
I have made a template that has a custom Toolbar. The Toolbar has some
popupmenus and buttons. One of the commandbarbuttons is calling a macro that
shows or hides a picture in the header. I am now trying to make the button
to toggle so that when the picture is shown the button is pushed or
highlighted, and v v, like the "Track changes"-button. It works fine but the
setting effects the commandbar in all open documents. For exampel:
Document A - picture is shown and button is highlighted
Document B - picture is shown and button is highligheted , so far is
everything ok. Then I presses the button in document B and the picture is
hidden and the button is not highlighted. If I then go back to Document A
the picture is shown but the button is not highlighted which it should be.
I have tryed to set the CustomizationContext but I can´t get it work the
way I want. Can someone please help me?
Many thanks / Lina