Activity.addmenuitem called twice

Nickelgrass

Active Member
Licensed User
Longtime User
Hi!
I have very strange problem. In my app I add a menuitem with Activity.AddMenuItem("Item", "item"). Then I add a sub Sub item_click
Log ("+++")
End Sub . When I press the menuitem I would expect the sub to be called and +++ would be loged. But instead it logs +++ newline +++.
I tryed this in a new blank app with same result.
What I also noticed was that the new blank app had the menu item at the top of the screen while my actual app has the old style menu at the bottom.
I have the feeling I am missing something obvoius... :BangHead:
What am I doing wrong that the sub is called twice?
 
Top