From Xojo Documentation
|You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!|
Called when a contextual menu item is selected. This selected item is contained in hitItem.
This example populates a contextual menu in the Opening event of a WebToolbar:
Me.ContextualMenu = menu
The menu selection is then handled by the ContextualMenuSelected event when the user right-clicks on the control. For example, it can be of the form:
There are equivalent events and properties for managing contextual menus on WebPage as well.