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
280
Call Contextmenu Items without right-click
posted

Hi there,

we want to use our own buttons to e.g. add a task in UltraGanttView. Therefore it would be useful to call the contextmenu item "InsertTask" within our Button.Click handler.

If we try to call

UltraGanttView1.ContextMenu.MenuItems(0).PerformClick

the ContextMenu property is Nothing. How can we retrieve the ContextMenu without right-clicking?

 

Regards,

Petra Tenzlinger.