iOS Question iSideMenu question

Discussion in 'iOS Questions' started by highflyer, Jul 18, 2015.

Similar threads

B4i Question iSideMenu
B4i Question iSideMenu only one page
B4i Question iSideMenu issue
B4i Question iSideMenu width
B4i Question iSideMenu button and width
  1. highflyer

    highflyer Member Licensed User

    Once initialized and configured iSideMenu on the main page, how to show it in all the other pages ??

    regards
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    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.
     
  3. highflyer

    highflyer Member Licensed User

    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....
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    You can set HideBackButton to true...
     
  5. highflyer

    highflyer Member Licensed User

    ...done before, but unfortunately didn't work...
    please find attached a small demo.
     

    Attached Files:

  6. Erel

    Erel Administrator Staff Member Licensed User

    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.
     
  7. highflyer

    highflyer Member Licensed User

    no back button, but not even sidemenu button... ??
     
  8. highflyer

    highflyer Member Licensed User

    I wish to have the sidemenu open button on introduction page as well.
     
  9. Erel

    Erel Administrator Staff Member Licensed User

    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:
    pg.TopLeftButtons = Array(Main.SideMenu.CreateBarButton("LeftMenuButton"))
     
  10. highflyer

    highflyer Member Licensed User

    Thank You Erel, problem solved.....
     
  11. Markos

    Markos Active Member Licensed User

    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
     
  12. Erel

    Erel Administrator Staff Member Licensed User

    Mark please start a new thread for your question.
     
Loading...