In the code editor, choose ContextMenu from the right-hand dropdown list and have it return False.
Private Function UIToolControl1_ContextMenu(ByVal x As Long, ByVal y As Long) As Boolean UIToolControl1_ContextMenu = False End Function Private Sub UIToolControl1_MouseDown(ByVal button As Long, ByVal shift As Long, ByVal x As Long, ByVal y As Long) If button = 2 Then UIToolControl1_ContextMenu x, y ElseIf button = 1 Then ' Whatever the tool does End If End Sub
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.