T tseyfarth Member Licensed User Longtime User Feb 23, 2023 #1 Hello all, I have started with B4X working on Android and iOS. Currently focused on Android. I would like to check to see which pages are open. Can anyone tell me how to do this? Thank you, Tim
Hello all, I have started with B4X working on Android and iOS. Currently focused on Android. I would like to check to see which pages are open. Can anyone tell me how to do this? Thank you, Tim
jahswant Well-Known Member Licensed User Longtime User Feb 23, 2023 #2 How to get current page? i want an if condition like as if currentpage("page1") then dont connect to database else if currentpage("page2") then connect to database end if www.b4x.com Upvote 0
How to get current page? i want an if condition like as if currentpage("page1") then dont connect to database else if currentpage("page2") then connect to database end if www.b4x.com
Erel B4X founder Staff member Licensed User Longtime User Feb 23, 2023 #3 There is also B4XPages.GetManager.mStackOfPageIds which returns an ordered B4XSet with the current stack of pages. Upvote 0
There is also B4XPages.GetManager.mStackOfPageIds which returns an ordered B4XSet with the current stack of pages.