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
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.