JakeBullet70 Well-Known Member Licensed User Longtime User Oct 12, 2021 #1 Well stupid question #45982. Wanting to always hide the side menu and add a button to show / hide. Been searching for an hour and not getting anything to work. What am I missing? I figure its something easy. Last edited: Oct 13, 2021
Well stupid question #45982. Wanting to always hide the side menu and add a button to show / hide. Been searching for an hour and not getting anything to work. What am I missing? I figure its something easy.
Solution alwaysbusy Oct 12, 2021 Try setting the barType to ABM.SIDEBAR_MANUAL_ALWAYSHIDE. The Sidebar is controlled by the Hamburger button. B4X: page.NavigationBar.Initialize(page, "nav1", ABM.SIDEBAR_MANUAL_ALWAYSHIDE, Title, True, True, 325, 48, sbtopcont, ABM.COLLAPSE_ACCORDION, "onetwo") Alwaysbusy
Try setting the barType to ABM.SIDEBAR_MANUAL_ALWAYSHIDE. The Sidebar is controlled by the Hamburger button. B4X: page.NavigationBar.Initialize(page, "nav1", ABM.SIDEBAR_MANUAL_ALWAYSHIDE, Title, True, True, 325, 48, sbtopcont, ABM.COLLAPSE_ACCORDION, "onetwo") Alwaysbusy
alwaysbusy Expert Licensed User Longtime User Oct 12, 2021 #2 Try setting the barType to ABM.SIDEBAR_MANUAL_ALWAYSHIDE. The Sidebar is controlled by the Hamburger button. B4X: page.NavigationBar.Initialize(page, "nav1", ABM.SIDEBAR_MANUAL_ALWAYSHIDE, Title, True, True, 325, 48, sbtopcont, ABM.COLLAPSE_ACCORDION, "onetwo") Alwaysbusy Upvote 0 Solution
Try setting the barType to ABM.SIDEBAR_MANUAL_ALWAYSHIDE. The Sidebar is controlled by the Hamburger button. B4X: page.NavigationBar.Initialize(page, "nav1", ABM.SIDEBAR_MANUAL_ALWAYSHIDE, Title, True, True, 325, 48, sbtopcont, ABM.COLLAPSE_ACCORDION, "onetwo") Alwaysbusy
JakeBullet70 Well-Known Member Licensed User Longtime User Oct 12, 2021 #3 alwaysbusy said: Try setting the barType to ABM.SIDEBAR_MANUAL_ALWAYSHIDE. The Sidebar is controlled by the Hamburger button. B4X: page.NavigationBar.Initialize(page, "nav1", ABM.SIDEBAR_MANUAL_ALWAYSHIDE, Title, True, True, 325, 48, sbtopcont, ABM.COLLAPSE_ACCORDION, "onetwo") Alwaysbusy Click to expand... Thanks @alwaysbusy. I knew it was something stupid. (stupid being me) Upvote 0
alwaysbusy said: Try setting the barType to ABM.SIDEBAR_MANUAL_ALWAYSHIDE. The Sidebar is controlled by the Hamburger button. B4X: page.NavigationBar.Initialize(page, "nav1", ABM.SIDEBAR_MANUAL_ALWAYSHIDE, Title, True, True, 325, 48, sbtopcont, ABM.COLLAPSE_ACCORDION, "onetwo") Alwaysbusy Click to expand... Thanks @alwaysbusy. I knew it was something stupid. (stupid being me)