📚 SAP Business One SDK Help

ContextMenuInfo Object Members
See Also  Overview 

Public Methods

Public Method RemoveFromContentRemoves a menu item from the right-click menu.

The removal only affects the current right-click event. In subsequent right-click events, the item is displayed (unless this method is again called and the item is removed from the menu).

Public Properties

Public Property ActionSuccessIndicates whether the application handled the event successfully.

Only relevant when the BeforeAction property is false.

Public Property BeforeActionIndicates whether the event handler method is being called before the application handles the event or after.
Public Property ColUIDThe unique ID of the matrix or grid column on which the event occurred (default is -1).
Public Property EventTypeThe event type.
Public Property FormUIDThe unique ID of the form in which the event occurred.
Public Property ItemUIDThe unique ID of the item on which the event occurred.
Public Property RowThe number of the matrix or grid row in which the event occurred.

For matrix objects, the value is 1-based; for grid objects, the value is 0-based.

See Also