Dim MStarter As MyStarter: MStarter.initialize
Wait For (MStarter.Start_sevice) complete(Ok As Boolean)
PedidoPg.initialize
B4XPages.AddPageAndCreate("PedidoPg", PedidoPg)
Entrada.initialize
B4XPages.AddPageAndCreate("Entrada", Entrada)
MenuPg.Initialize
B4XPages.AddPageAndCreate("MenuPg", MenuPg)
ProdutosPg.initialize
B4XPages.AddPageAndCreate("ProdutosPg", ProdutosPg)
If badger1.IsInitialized = False Then badger1.initialize
Pls see #4Does it also happen in release mode? If so, post the error message in release mode.
Yes on other B4XPage. Does it exist a suggestion to check if this other Page has been already (finished) loaded?All that I can say, based on the information you provided, is that the error happened when you clicked on lblEntrada and you tried to set the Text property of a different view that wasn't initialized.
All that I can say, based on the information you provided, is that the error happened when you clicked on lblEntrada and you tried to set the Text property of a different view that wasn't initialized.
Entrada.LbLTitulo1.text = "Entrada"
B4XPages.ShowPage("Entrada")
B4XPages.ShowPage("Entrada")
Entrada.LbLTitulo1.text = "Entrada"