I'd like to add a context menu to a particular ButtonTool on a toolbar. I'd like to do this programatically.
I've been stuck because it appears that there's no way to use the ultraToolbarsManager1:SetContextMenuUltra method with a ButtonTool.
Is this possible? I can add a context menu to an ordinary UltraButton but not a ButtonTool.
Thanks,
Tom
Hello Tom,
Thank you for contacting Infragistics Developer Support!
The ButtonTool isn’t a full control like the UltraButton which is why you can’t add a context menu. You can try the following to handling the right click and manually show a context menu:
www.infragistics.com/.../right-click-on-buttontool