| RightClickEvent Event | |
| See Also |
- eventInfo
- The object that holds the event information
- BubbleEvent
Indicates how the application handles the event. Relevant only when ContextMenuInfo.BeforeAction is true.
- True: The application shows the context menu after the current event handler is finished (default).
- False: The application does not show the context menu.
Occurs when an end user clicks the right mouse button on a form.
Use this event to create a right-click menu for your add-on forms, or to modify the right-click menu for system forms.
| Visual Basic |
|---|
Public Event RightClickEvent( _
ByVal eventInfo As ContextMenuInfo, _
ByRef BubbleEvent As Boolean _
) |
- eventInfo
- The object that holds the event information
- BubbleEvent
Indicates how the application handles the event. Relevant only when ContextMenuInfo.BeforeAction is true.
- True: The application shows the context menu after the current event handler is finished (default).
- False: The application does not show the context menu.
By default, the right-click menu displays all the menu items from the Edit, Data, and Goto menus.
If you want to modify the right-click menu for a specific item, catch the event before notification and modify the Edit, Data, and Goto menus as required. Then, catch the event after notification and remove your changes to restore the menus.