Share

UserInputEvents.OnLinearMarkingMenu Event

Parent Object: UserInputEvents

Description

Fires before the overflow context menu is displayed to the user.

Syntax

UserInputEvents.OnLinearMarkingMenu( SelectedEntities As ObjectsEnumerator, SelectionDevice As SelectionDeviceEnum, LinearMenu As CommandControls, AdditionalInfo As NameValueMap )

Parameters

Name Type Description
SelectedEntities ObjectsEnumerator Input ObjectsEnumerator that contains the selected entities. This is the same set of entities currently contained in the document’s SelectSet.
SelectionDevice SelectionDeviceEnum Input constant denoting whether the menu was invoked via a click in a graphics window (kGraphicsWindowSelection) or by a click in the browser (kBrowserSelection).
LinearMenu CommandControls Input/Output CommandControls object. This object represents the contents of the linear menu that will be displayed to the user. Using the functionality of the CommandControls object you can iterate over the current contents and add and remove items from the menu.
AdditionalInfo NameValueMap Input NameValueMap object that contains additional information about why the menu is being displayed. This is currently empty.

Version

Introduced in version 2012

Was this information helpful?