epiCode Active Member Licensed User Oct 29, 2021 #1 What does the following two lines actually do ? Most examples of Menu + b4xpages have them in the beginning. B4X: Dim MenuItemsAll As List = B4XPages.GetManager.GetPageInfoFromRoot(Root).Parent.MenuItems MenuItemsAll.Clear
What does the following two lines actually do ? Most examples of Menu + b4xpages have them in the beginning. B4X: Dim MenuItemsAll As List = B4XPages.GetManager.GetPageInfoFromRoot(Root).Parent.MenuItems MenuItemsAll.Clear
Erel B4X founder Staff member Licensed User Longtime User Oct 31, 2021 #2 mohsyn said: Most examples of Menu + b4xpages have them in the beginning. Click to expand... Only examples where the menu is updated at runtime. Standard usage is explained here: https://www.b4x.com/android/forum/t...or-managing-multiple-pages.118901/post-744375 Dynamic menu: https://www.b4x.com/android/forum/threads/b4x-b4xpages-menu-badges.133301/#content Upvote 0
mohsyn said: Most examples of Menu + b4xpages have them in the beginning. Click to expand... Only examples where the menu is updated at runtime. Standard usage is explained here: https://www.b4x.com/android/forum/t...or-managing-multiple-pages.118901/post-744375 Dynamic menu: https://www.b4x.com/android/forum/threads/b4x-b4xpages-menu-badges.133301/#content