alirezahassan Active Member Licensed User Longtime User Jan 3, 2021 #1 Hi, i use b4xpage. and i want to show page. i write this code B4X: B4XPages.ShowPage("M_hi") and i want to send some data to this page. before using b4x page i write this for example B4X: M_hi.ID = ID M_Hi.start and i send ID to this code Module. for b4xpage what should i do to send data?
Hi, i use b4xpage. and i want to show page. i write this code B4X: B4XPages.ShowPage("M_hi") and i want to send some data to this page. before using b4x page i write this for example B4X: M_hi.ID = ID M_Hi.start and i send ID to this code Module. for b4xpage what should i do to send data?
Erel B4X founder Staff member Licensed User Longtime User Jan 3, 2021 #2 Everything is simpler with B4XPages. 1. Add the pages with B4XPages.AddPageAndCreate. 2. There are many ways to get the page object, one of them is: B4X: Dim hi As YourPageType = B4XPages.GetPage("M_hi") hi.Start(id) Upvote 0
Everything is simpler with B4XPages. 1. Add the pages with B4XPages.AddPageAndCreate. 2. There are many ways to get the page object, one of them is: B4X: Dim hi As YourPageType = B4XPages.GetPage("M_hi") hi.Start(id)