Skip to content

addPopupMenu()

Add a pop-up (right-click) menu to the display.

Parameters

Once an object display has been created, you can use the following function:

display.addPopupMenu(menu)
Parameter Type Default Description
menu Menu required The menu to show when the user right-clicks the display.