Show a contextualmenu without right-click

Is there anything like presentcontextualmenu (only for web-apps) for desktop apps? I need to show a contextualmenu without right-click but only on simple click…

Many thanks!

In your MouseDown event, just build a menu to display and then get the result from the .Popup method

[code]Dim popMenu As MenuItem
popMenu = EditMenu.Clone

Dim selectedMenu As MenuItem
selectedMenu = popMenu.Popup // can be nil if nothing selected, so make sure to test for it

Many thanks! Great! I’ve forgotten it!