Public Page2 As B4XPage2 = B4XPages.GetPage("Page 2")
Page2.lblTest.Text = "Page 3 was displayed."
I would like to do this to refer to a number of Public variables in B4XMainPage (which I converted from the old Main Activity as I'm converting this project to be a B4XPages one). I've tried various code in the other pages e.g. MainPage = B4XPages.B4XMainPage, but it either gives compiler or runtime errors.
How can this be done?
Hi, In an app being designed using b4XPages, I have declared a Public Long variable in Process_Globals in Starter.bas However, the IDE Intellisense requires me to access it as Starter. and not directly. My doubts: 1) Is it safe to refer to the variable in all the b4X Pages as Starter. [both...