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
515
Context Menu on PopupMenu ButtonTool Click
posted

Hi Guys

I have a PopupMenuTool that contains a number of ButtonTools. I have a right click trap on the ButtonTools inside the PopupMenuTool, so that when the ButtonTools are right clicked, a context menu is displayed. I use this context menu to rename/remove these tools.

Everything is great, except when my context menu is shown, it gets moved to the origin point of the PopupMenuTool... it won't keep it's position at the Cursor. For a split second it is shown at the cursor (because I have specified the cursor point in .ShowPopup, but then it gets forced up to the top left hand corner of the PopupMenuTool.

 Any advice?