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
1140
UltraToolBarManager ContextMenu
posted

Hi,

I created multiple popup menus using Ultra ToolBar Manager to use in my program. They are appearing fine with right click. But I want to make the popup appear when left click.

How is it possible?

I even tried putting the code in mouse_down event of the control like

  UltraToolbarsManager1.Tools.Item("EmailPopupMenu").SharedProps.Visible = True

but still it did not work.

help me out

Nagarjun.

 

  • 6158
    Suggested Answer
    Offline posted

    Hello Nagarjun,

    In order to display the PopupMenuTool on left-click, you need to utilize one of the ShowPopup() overloads on the PopupMenuTool. Note that you will most likely have to cast the tool as a PopupMenuTool or PopupToolBase to gain access to those methods.

    Let me know if you needs further assistance with this functionality.

    Thanks,

    Chris