B4J Question [ABMaterial] how to do horizontal NavigationBar? {solved}

Gianni M

Well-Known Member
Licensed User
Longtime User
Hi,
i have not found how to do horizontal NavigationBar;
thank you
 
Use
page.NavigationBar.AddTopItem(...)
page.NavigationBar.AddTopSubItem(...)

instead of

page.NavigationBar.AddSideBarItem(...)
page.NavigationBar.AddSideBarSubItem(...).

Check the BuildNavigationBar Sub in the ABMShared file of the Demo app of ABMaterial. You will find a commented-out horizontal menu there.
 
Upvote 0
Back
Top