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
200
Ribbon inheritance issue
posted

So I have Form_A which contains the UltraToolbarManager(UTM) that implements the Ribbon visual style.  Mdimergable is set to false. Office2007 compatability is also set to false.

I also have Form_B and C which inherit from Form A.  In the Visual Studio designer, I am not allowed to make any changes to the UTM in Form_A while in Form_B or Form_C designer even if i set the UTM's Modifiers property to protected in Form A ( I assume this is correct functionality ).  

A problem I had was that I wanted to display a new RibbonGroup in Form B and not in form C.  So my way of resolving this issue was to create the new group in Form A and set the visibility to hidden, then just make this group visible in Form_B on load.  This brought up my main issue though.  WHen I open up Form_B and Form_C in a tabbed control, the visibility of the group isn't correct based on the tab that I am looking at.

If I open up Form_B first and set the ActiveMdiChildManager to Form_B's UTM, then when I open Form_C and set the MDI's UTM.ActiveMdiChildManager to Form_C ( on focus ), the group is still visible ( even though the visible property on the group is set to False). The opposite is true if i open the forms in opposite order.  If i open FOrm_C before Form_B, then the group will be hidden when either tab has focus.

Any idea?