Android Question whats on the menu

67biscuits

Member
nonsuch:
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
Switch to B4XPages. Why are you wasting your time with activities????

See the docs:

1748150494424.png


It should be openCat_Click
 
Upvote 0
Top