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