N
Noam Gal
I am trying to add a ToggleButton to the main explorer ribbon. When I put it
in the "TabAddIns" it works as expected, but I want to add it to the home Tab
instead.
I realize I have different "home" tabs for the different explorer views, but
at first I just tried putting it in the "TabMail", and I can't seem to get it
to work in there at all when I set either the getImage or the getVisible
delegates.
In other words, this works:
==================
<tab idMso="TabMail" >
<group id="explorer_MyGroup" label="MyGroup" getVisible="GroupVisible">
<toggleButton id="MyToggleButton" size="large"
onAction="ToggleButton_Action" imageMso="HappyFace" getLabel="Button_Label"
getPressed="Button_Pressed" visible="true" />
</group>
</tab>
==================
but this doesn't:
==================
<tab idMso="TabMail" >
<group id="explorer_MyGroup" label="MyGroup" getVisible="GroupVisible">
<toggleButton id="MyToggleButton" size="large"
onAction="ToggleButton_Action" imageMso="HappyFace" getLabel="Button_Label"
getPressed="Button_Pressed" getVisible="Button_Visible" />
</group>
</tab>
==================
and neither does this:
==================
<tab idMso="TabMail" >
<group id="explorer_MyGroup" label="MyGroup" getVisible="GroupVisible">
<toggleButton id="MyToggleButton" size="large"
onAction="ToggleButton_Action" getImage="Button_Image"
getLabel="Button_Label" getPressed="Button_Pressed" visible="true" />
</group>
</tab>
==================
It all works fine under the "TabAddin", as I mentioned - there are no
(related) bugs inside the image/visible delegates.
Is there something special in the "TabMail" causing this problem?
in the "TabAddIns" it works as expected, but I want to add it to the home Tab
instead.
I realize I have different "home" tabs for the different explorer views, but
at first I just tried putting it in the "TabMail", and I can't seem to get it
to work in there at all when I set either the getImage or the getVisible
delegates.
In other words, this works:
==================
<tab idMso="TabMail" >
<group id="explorer_MyGroup" label="MyGroup" getVisible="GroupVisible">
<toggleButton id="MyToggleButton" size="large"
onAction="ToggleButton_Action" imageMso="HappyFace" getLabel="Button_Label"
getPressed="Button_Pressed" visible="true" />
</group>
</tab>
==================
but this doesn't:
==================
<tab idMso="TabMail" >
<group id="explorer_MyGroup" label="MyGroup" getVisible="GroupVisible">
<toggleButton id="MyToggleButton" size="large"
onAction="ToggleButton_Action" imageMso="HappyFace" getLabel="Button_Label"
getPressed="Button_Pressed" getVisible="Button_Visible" />
</group>
</tab>
==================
and neither does this:
==================
<tab idMso="TabMail" >
<group id="explorer_MyGroup" label="MyGroup" getVisible="GroupVisible">
<toggleButton id="MyToggleButton" size="large"
onAction="ToggleButton_Action" getImage="Button_Image"
getLabel="Button_Label" getPressed="Button_Pressed" visible="true" />
</group>
</tab>
==================
It all works fine under the "TabAddin", as I mentioned - there are no
(related) bugs inside the image/visible delegates.
Is there something special in the "TabMail" causing this problem?