With the B4J Designer, you can add ContextMenus like the below to any control.
Example ContextMenu: ["Item 1", "Item 2"]
However, what is the code for actually using them? I've tried the below code and it doesn't work.
Any help would be appreciated!
Example ContextMenu: ["Item 1", "Item 2"]
However, what is the code for actually using them? I've tried the below code and it doesn't work.
B4X:
Public Sub MenuItem_Action
Dim Mi As MenuItem = Sender
Log (Mi.Text)
End Sub
Any help would be appreciated!