Hi,
Looking at
https://www.b4x.com/android/forum/threads/designer-menu-items.56602/
and
https://www.b4x.com/android/forum/threads/menu-bar-add-submenu-items-dynamically.57454/
, I'm trying to figure out how to build an entire menu structure dynamically. In other words, taking an existing menu generated from the Designer, clearing all items out by code, and then adding the main items and their children, inside the code.
But the most important part, is whether it's possible to show the child items horizontally, directly under the parent items.
So using a simple example,
Main menu bar, called mnb_Main:
One Two Three
, and when item Two is selected, the second child menu displays (child items Two-A, Two-B, and Two-C) immediately under the main menu.
One Two Three
Two-A Two-B Two-C
Is that possible?
Looking at
https://www.b4x.com/android/forum/threads/designer-menu-items.56602/
and
https://www.b4x.com/android/forum/threads/menu-bar-add-submenu-items-dynamically.57454/
, I'm trying to figure out how to build an entire menu structure dynamically. In other words, taking an existing menu generated from the Designer, clearing all items out by code, and then adding the main items and their children, inside the code.
But the most important part, is whether it's possible to show the child items horizontally, directly under the parent items.
So using a simple example,
Main menu bar, called mnb_Main:
One Two Three
, and when item Two is selected, the second child menu displays (child items Two-A, Two-B, and Two-C) immediately under the main menu.
One Two Three
Two-A Two-B Two-C
Is that possible?