In previous versions we had the ability to override showContextMenu to achieve right click in various controls..
This used have pop the menu and wait for a user response to continue. This concept of waiting for a response doesn’t exist in AX7. So, it has been split into two methods:
Do a search in the AOT for code examples it’s relatively straightforward.