Hi All,
- In the B4XMainPage, I want to show the Logon_Page for user to logon but the layout of logon_page was not loaded just empty Logon_Page was showed, how to solve this?
- Where is the bets appropriate module to declare global variables Stater or B4XMainPage?
B4XMainPage:
Private Sub B4XPage_Created (Root1 As B4XView)
Root = Root1
B4XPages.SetTitle(Me,"Home")
' Init pages and add pages to B4XPages collection
StartPage.Initialize
B4XPages.AddPage("Start_Page",StartPage)
CustomerPage.Initialize
B4XPages.AddPage("Customer_Page",CustomerPage)
LogonPage.Initialize
B4XPages.AddPage("Logon_Page",LogonPage)
' Show logon page
B4XPages.ShowPageAndRemovePreviousPages("Logon_Page")
End Sub