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.
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 _ ) |
Indicates how the application handles the event. Relevant only when ContextMenuInfo.BeforeAction is true.
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.