iOS Question ToolBar Button don not appear?

Discussion in 'iOS Questions' started by Star-Dust, Aug 8, 2018.

  1. Star-Dust

    Star-Dust Expert Licensed User

    Surely I'm doing something simple. But it's my first App in B4i.

    In the Debug the TollBar Buttons appear to me while in release they do not appear. Why?
    Image-1.jpg image-2.jpeg
  2. Filippo

    Filippo Expert Licensed User

    Can you enter some code?
  3. Filippo

    Filippo Expert Licensed User

    If the views are not included in a layout, then you have to set the view size and position in Sub Page1_Resize.
  4. Star-Dust

    Star-Dust Expert Licensed User

    This is all the code, I've just started
    Private Sub Application_Start (Nav As NavigationController)
    'SetDebugAutoFlushLogs(True) 'Uncomment if program crashes before all logs are printed.
        NavControl = Nav
        Page1.Title = 
    "Page 1"
        Page1.RootPanel.Color = 
    End Sub
  5. Erel

    Erel Administrator Staff Member Licensed User

    You mean that it shows in design mode and doesn't show while running, right?

    NavControl.ToolBarVisible = True
    Make sure to add it after the call to ShowPage.
    Filippo likes this.
  6. Star-Dust

    Star-Dust Expert Licensed User

    Thanks, it works now. I feel like a baby who is learning to say a few words :confused::confused:
    Last edited: Aug 9, 2018
  7. BillMeyer

    BillMeyer Active Member Licensed User

    Don't worry Star Dust - it took me a while before figuring out the tricks and traps - but now I enjoy both B4A and B4i and am equally at home with them both.
    Erel, Star-Dust and klaus like this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice