Android Question B4X Menu Items - Events

Mike Parris

Member
Licensed User
Longtime User
Hi, I am starting to use B4X pages. All good except I am having trouble finding how to create a simple menu scheme.

If I create the menu in the activity, it does not show on the page. (No 3 dots icon)

If I place it in the page it shows on the page OK but I cannot see how to create the event clicked code.

I place this code in the "B4XPage_Created" event - B4XPages.AddMenuItem(Me,"Menu Item Text")
But how do I create code that will execute when the item is clicked?
 

mangojack

Expert
Licensed User
Longtime User
Might help ... (post #5)

See the ThreePages example in post #1 ..... There is a menu item in Page 3.
 
Upvote 0
Top