I am trying to have the menu that is adding show only with a Left Click on a button.
I add the ConstructContextualMenu event to the button with theXoJo example code:
Notes says: "Fires whenever it is appropriate “, this is vague and ambiguous.
" If you return True, the contextual menu is displayed” , it displays with True or False.
Right click on the button always displays it. i just want it to display with left Click only.
#Pragma unused x
#PRAGMA unused y
// Add some items
base.AddMenu(New MenuItem(“Test 1”))
Var m As MenuItem
m = New MenuItem(“Test 2 - Disabled”)
m.Enabled = False
base.AddMenu(m)
Return False