Alexander Stolte Expert Licensed User Longtime User Jun 14, 2020 #1 How can i show a B4XPage with parameters?
agraham Expert Licensed User Longtime User Jun 14, 2020 #2 Declare some Public Global variables in the page to be shown, set them appropriately before showing it. and check those variables in the B4XPage_Appear event in the shown page. Upvote 0
Declare some Public Global variables in the page to be shown, set them appropriately before showing it. and check those variables in the B4XPage_Appear event in the shown page.
Erel B4X founder Staff member Licensed User Longtime User Jun 14, 2020 #3 Once you understand how simple it is, you will realize that none of these things are needed. B4X: Page2.SomeSubThatConfiguresEverythingNeeded(a, b, c, 100, 200) B4XPages.ShowPage("page 2") You can also call methods of the previous page from page 2. Nothing is ever paused. Tip: Call B4XPages.AddPageAndCreate if you want to be sure that the layout of the page is ready, even before it is shown. Upvote 0
Once you understand how simple it is, you will realize that none of these things are needed. B4X: Page2.SomeSubThatConfiguresEverythingNeeded(a, b, c, 100, 200) B4XPages.ShowPage("page 2") You can also call methods of the previous page from page 2. Nothing is ever paused. Tip: Call B4XPages.AddPageAndCreate if you want to be sure that the layout of the page is ready, even before it is shown.