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
165
Problem hiding PopupMenuTool
posted

Hello.

I am trying to hide a popup menu.  The code is following:

            Dim popupMenu As Infragistics.Win.UltraWinToolbars.PopupMenuTool
            popupMenu = CType(Me.UltraToolbarsManager1.Tools(key), Infragistics.Win.UltraWinToolbars.PopupMenuTool)
            popupMenu.InstanceProps.Visible = Infragistics.Win.DefaultableBoolean.False
 

This code does not do the trick!  How can I do this?

Parents
  • 44743
    posted

    What happens after the property is set? If the tool is disabled instead of hidden and it resides on a RibbonGroup this is expected behavior. The Office 2007 UI Guidelines state that the contents of a ribbon tab cannot be modified, so tools cannot be hidden and are diabled instead. To actually hide the tools, set Office2007UICompatibility to False. If the tools are not on a RibbonGroup, it could be a bug and I would recommend submitting it to the support group: http://ko.infragistics.com/gethelp.

Reply Children