highflyer Member Licensed User Longtime User Jul 18, 2015 #1 Once initialized and configured iSideMenu on the main page, how to show it in all the other pages ?? regards
Once initialized and configured iSideMenu on the main page, how to show it in all the other pages ?? regards
Erel B4X founder Staff member Licensed User Longtime User Jul 19, 2015 #2 There are several ways to implement it. If you are calling NavControl.ShowPage to show the next page then it will work automatically as the NavControl manages the "center page" and will not affect the side pages. Upvote 0
There are several ways to implement it. If you are calling NavControl.ShowPage to show the next page then it will work automatically as the NavControl manages the "center page" and will not affect the side pages.
highflyer Member Licensed User Longtime User Jul 19, 2015 #3 I'm using the same layout as the ThreePages example, when the side menu button switches to page 2, the back button icon takes the place of the sidemenu button icon.... Upvote 0
I'm using the same layout as the ThreePages example, when the side menu button switches to page 2, the back button icon takes the place of the sidemenu button icon....
Erel B4X founder Staff member Licensed User Longtime User Jul 19, 2015 #4 You can set HideBackButton to true... Upvote 0
highflyer Member Licensed User Longtime User Jul 19, 2015 #5 ...done before, but unfortunately didn't work... please find attached a small demo. Attachments SideMenuDemo.zip SideMenuDemo.zip 2.2 KB · Views: 543 Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jul 19, 2015 #6 What are the steps to reproduce it??? I'm pressing on Menu 1 which takes me to the introduction page. I don't see the back button there. Upvote 0
What are the steps to reproduce it??? I'm pressing on Menu 1 which takes me to the introduction page. I don't see the back button there.
highflyer Member Licensed User Longtime User Jul 19, 2015 #7 no back button, but not even sidemenu button... ?? Upvote 0
highflyer Member Licensed User Longtime User Jul 19, 2015 #8 I wish to have the sidemenu open button on introduction page as well. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jul 19, 2015 #9 Then you need to add the button like you added it to the first page. Make SideMenu a public variable and add it to the second page: Code: Copy pg.TopLeftButtons = Array(Main.SideMenu.CreateBarButton("LeftMenuButton")) Upvote 0
Then you need to add the button like you added it to the first page. Make SideMenu a public variable and add it to the second page: Code: Copy pg.TopLeftButtons = Array(Main.SideMenu.CreateBarButton("LeftMenuButton"))
highflyer Member Licensed User Longtime User Jul 19, 2015 #10 Thank You Erel, problem solved..... Upvote 0
M Markos Well-Known Member Licensed User Longtime User Nov 20, 2015 #11 Erel said: Then you need to add the button like you added it to the first page. Make SideMenu a public variable and add it to the second page: Code: Copy pg.TopLeftButtons = Array(Main.SideMenu.CreateBarButton("LeftMenuButton")) Click to expand... Hi Erel, I have purchased B4a and B4i. I am comfortable with B4A and now 80% comfortable with B4i. But I am having great difficulty in understanding how to create a simple menu on the right hand side. In simple terms I want to create a Menu on the top right and when I click on it, it displays 3 sub menu items and in each of those submenu items I want to execute their own code via an event. Like traditional menu items. So I want to ask your patience and walk me through it with sample code. The parts that confuse me is menutable, barbuttons are they two ways to display and select the menu and its sub menu items or buttons? Is menuitem the way to go or barbutton. Lastly can I initialise with left and right menu pages as null and use the 'Page 1' to hold the right menu button with submenu items that are trappable via a the BarButtonClick or otherwise Thanks Mark Upvote 0
Erel said: Then you need to add the button like you added it to the first page. Make SideMenu a public variable and add it to the second page: Code: Copy pg.TopLeftButtons = Array(Main.SideMenu.CreateBarButton("LeftMenuButton")) Click to expand... Hi Erel, I have purchased B4a and B4i. I am comfortable with B4A and now 80% comfortable with B4i. But I am having great difficulty in understanding how to create a simple menu on the right hand side. In simple terms I want to create a Menu on the top right and when I click on it, it displays 3 sub menu items and in each of those submenu items I want to execute their own code via an event. Like traditional menu items. So I want to ask your patience and walk me through it with sample code. The parts that confuse me is menutable, barbuttons are they two ways to display and select the menu and its sub menu items or buttons? Is menuitem the way to go or barbutton. Lastly can I initialise with left and right menu pages as null and use the 'Page 1' to hold the right menu button with submenu items that are trappable via a the BarButtonClick or otherwise Thanks Mark
Erel B4X founder Staff member Licensed User Longtime User Nov 22, 2015 #12 Mark please start a new thread for your question. Upvote 0