Android Question Disable Menù

Touch

Active Member
Licensed User
Longtime User
Hi,

It is possible to disable a menu added with:
B4X:
Activity.AddMenuItem3("Modifica", "mnuEdit", LoadBitmap(File.DirAssets, "save.png"), True)

Thanks for all reply
 

Beja

Expert
Licensed User
Longtime User
One way is to define a boolean variable, then check its state before processing the menu item. You can add a check box in the activity or layout to toggle the variable value.
 
Upvote 0
Top