B4XPages.ShowPage2(MyPage) where MyPage is a B4XPage (B4XPages.ShowPage requires a B4XPage string identifier, as you know).