iOS Question ToolBar Button don not appear?

Star-Dust

Expert
Licensed User
Longtime 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
 
If the views are not included in a layout, then you have to set the view size and position in Sub Page1_Resize.
 
Upvote 0
This is all the code, I've just started
Code:
Private Sub Application_Start (Nav As NavigationController)
    'SetDebugAutoFlushLogs(True) 'Uncomment if program crashes before all logs are printed.
    NavControl = Nav
    Page1.Initialize("Page1")
    Page1.Title = "Page 1"
    Page1.RootPanel.Color = Colors.White
    NavControl.ShowPage(Page1)
    
    Page1.RootPanel.LoadLayout("Layout1")  
End Sub
 
Upvote 0
In the Debug the TollBar Buttons appear to me while in release they do not appear. Why?
You mean that it shows in design mode and doesn't show while running, right?

Add:
Code:
NavControl.ToolBarVisible = True
Make sure to add it after the call to ShowPage.
 
Upvote 0
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.
 
Upvote 0

Similar Threads

Replies
1
Views
1K
  • Question Question
Replies
8
Views
4K
  • Question Question
iOS Question Toolbar color
Replies
2
Views
4K
Back
Top