incendio Well-Known Member Licensed User Longtime User Jan 17, 2021 #1 Hi guys, In Activities based app, I use this code B4X: Sub btn_click CallSubDelayed2(myMod,"ShowInfo","Info") End Sub That codes will bring myMod into active activity and Call sub ShowInfo. How to mimic this behaviour in B4Pages based app?
Hi guys, In Activities based app, I use this code B4X: Sub btn_click CallSubDelayed2(myMod,"ShowInfo","Info") End Sub That codes will bring myMod into active activity and Call sub ShowInfo. How to mimic this behaviour in B4Pages based app?
Erel B4X founder Staff member Licensed User Longtime User Jan 17, 2021 #2 Everything is simpler with B4XPages. You can directly call methods of other pages. Best to create the other page with B4XPages.AddPageAndCreate. B4X: SecondPage.ShowInfo("info") B4XPages.ShowPage("second page id") You can also call ShowPage from ShowInfo. Upvote 0
Everything is simpler with B4XPages. You can directly call methods of other pages. Best to create the other page with B4XPages.AddPageAndCreate. B4X: SecondPage.ShowInfo("info") B4XPages.ShowPage("second page id") You can also call ShowPage from ShowInfo.