i don't understand, i have see this threadThis line is wrong:
You need to show a page, not a code module.B4X:NavControl.ShowPage(Main)
work fine
Main
Sub TextEmail_EnterPressed
Msgbox ("Main TextEmail EnterPressed", "Debug")
End Sub
doesn't work
Page2
Sub TextEmail_EnterPressed
Msgbox ("Page2 TextEmail EnterPressed", "Debug")
End Sub