67biscuits Member May 24, 2025 #1 Code: Copy sub activity_Create Activity.AddMenuItem("Open catagory", "openCat") End Sub Sub openCat Log("In openCat") 'No output menuPanel.Visible = True ' panel does not appear End Sub Is there anything that would prevent the Sub openCat event from firing? I thought that if i click on the three spots icon, and select "Open Catagory" that the openCat sub would fire. What am I missing? Thanks
Code: Copy sub activity_Create Activity.AddMenuItem("Open catagory", "openCat") End Sub Sub openCat Log("In openCat") 'No output menuPanel.Visible = True ' panel does not appear End Sub Is there anything that would prevent the Sub openCat event from firing? I thought that if i click on the three spots icon, and select "Open Catagory" that the openCat sub would fire. What am I missing? Thanks
Erel B4X founder Staff member Licensed User Longtime User May 25, 2025 #2 Switch to B4XPages. Why are you wasting your time with activities???? See the docs: It should be openCat_Click Upvote 0
Switch to B4XPages. Why are you wasting your time with activities???? See the docs: It should be openCat_Click
67biscuits Member May 27, 2025 #4 Is there a way to capture the actually tapping of the 3 dots? Upvote 0
Erel B4X founder Staff member Licensed User Longtime User May 28, 2025 #5 No. You can create your own button and add it to the action bar. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User May 29, 2025 #7 Example: https://www.b4x.com/android/forum/t...g-a-button-in-the-b4xpage-bar.134944/#content Upvote 0