Right Click Menus
- Last UpdatedMar 14, 2024
- 1 minute read
The following options are available for right click menus:
-
Disable AVEVA P&ID default right click menus
To disable AVEVA P&ID default right click menu, just "comment in" in the following line from the "UserStartUp" routine.
"UsersClass.DisableRightClickMenu
When the AVEVA P&ID right click menu is disabled the standard AutoCAD right click behaviour will be active instead.
-
Set Right click button to return key
To the right click button press in AVEVA P&ID to act as the return key just comment in the following line from the "UserStartUp" routine.
"UsersClass.SetRightClickToReturnKey
-
Enable right click menu (default)
No changes required.
To customise right click menus programmatically, use the "BeginRightClick" event of the "AcadDocument" object.
Private Sub AcadDocument_BeginRightClick(ByVal PickPoint As Variant)
‘ Write your mouse right click event here….
End Sub
See the AutoCAD customization guide for more details on customizing right click menus.