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
739
How can we make PopupMenuTool Invisible
posted

Hi,

     I am working in Windows Application with PopupMenuTool. I need to make Popup Menu Tool Invisible.

     I tried it with the following code. But its displayed it as Disabled when I made it Invisible 

    CType(Me.UltraToolbarsManager1.Tools("btnChartAxisTitles"), PopupMenuTool).SharedProps.Visible= False

    Am I doing any error. Please give me the exact solution

 

TIA

Maguesh 

 

  • 44743
    Verified Answer
    posted

    I assume this tool is in a RibbonGroup. According to the Office 2007 UI Guidelines, the contents of the ribbon cannot be changed. Therefore, any tools which have Visible set to False are disabled instead of hidden. To get around this, set Office2007UICompatibilty to False.