Ivaylo Mihaylov
Posts: 16
Joined: 2009-04-13
|
Hi,
As far as I can see when clicking on a ribbon menu checkbox while having more than one opened explorers checks/unchecks the checkbox for all instances.
Is there a way to set a ribbon checkbox to affect only the current open outlook explorer - as for example switching off and on the reading pane does?
Thanks |
|
Eugene Astafiev
Guest
|
Hi Ivaylo,
Yes, there is. Please try to use the following code:
private void adxRibbonCheckBox1_PropertyChanging(object sender, AddinExpress.MSO.ADXRibbonPropertyChangingEventArgs e)
{
if (e.PropertyType == AddinExpress.MSO.ADXRibbonControlPropertyType.Pressed)
{
// clear the check box in other windows
e.Value = false;
}
} |
|