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
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.