If I need close page.show, what can I do??
like B4A activity.finish or restart page.
thank you Everyone.
B4X:
Public Sub Show
If pg.IsInitialized = False Then
pg.Initialize("pg")
pg.RootPanel.LoadLayout("LoginLayout")
End If
Main.NavControl.ShowPage(pg)
End Sub
Private Sub btnEnter_Click
pg.ResignFocus
Page1Module.Show 'In there,I need Close LoginModule back MainModule
End Sub
thanks Erel,
After the test I found him to be able to use,
But when I re-enter the page, I found that my record before the operation has not been reset,
Will I have to how to do it?
This is an example,
When I press the Enter input 123,
But when I press the Close Back to Previous Page,
After I press Enter again, 123 did not go away.