Editing menus

AlpVir

Well-Known Member
Licensed User
Longtime User
In the past few posts I've read of the impossibility to change the menu contents.
It would seem that it is NOT possible to switch (by code) from :
B4X:
Activity.AddMenuItem("Old title", "mnuTitle")
to :
B4X:
Activity.AddMenuItem("New title", "mnuTitle")
Is it true or someone has found a way to do it?
Thanks in advance
 

specci48

Well-Known Member
Licensed User
Longtime User
A possible workaround is to catch the menu key within the sub Activity_KeyPress and provide a popup menu with the AHQuickAction library instead of an "normal" menu.
This can be changed at runtime according to the state of your application.


specci48
 
Upvote 0
Top