B4i Question B4XPages - Stack Pages - Alexander Stolte    
May 5, 2021Since I'm on IOS, I see a lot of apps that have StackedPages like this.
How can I achieve this with B4XPages?
112873...
link: that.
have a look here:
https://www.b4x.com/android/forum/threads/b4xpage-how-to-set-a-pages-presentviewcontroller...
link: Sorry to bump this thread. any update on this?...
link: temporarily the code works, i see the 2nd page, but then the app crashes, without error.
Private...
B4A Question B4XPages.GetManager.mStackOfPageIds - RB Smissaert    
Feb 23, 2023I understand that this returns an ordered B4XSet with the current stack of pages, but I wonder what exactly "current stack of pages" means.
If a page is closed by pressing the Android < button then that page doesn't show in the above list, but it must exist in some form as I don... B4XPages.GetManager.mStackOfPageIds.
RBS...
link: mStackOfPageIds tracks the current stack of pages. The page at the top of the stack...
B4i Question iHUD on another stack page - Alberto Iglesias    
May 8, 2019Hello,
When the object HUD is in the main page works fine, but when trying to show in another page is not showing (is like working behind this page)
event if this object is created on the second...
link: https://www.b4x.com/android/forum/threads/show-second-page-like-popup-animation.65638/#post-415743...
link: the tip from @Erel post on this link
https://www.b4x.com/android/forum/threads/show-second-page...
link: "message show" subroutine in each visible page, and invisible module will call corresponding...
B4A Tutorial [B4X] [B4XPages] Intent based camera - Erel    
Jul 23, 2024   
(17 reactions) module in B4i.
B4i code was updated to fix an issue with the top page being removed from B4XPages stack.
The change adds a line before and after the Wait For Camera_Complete call:
Dim TopPage As String = B4XPages.GetManager.GetTopPage.Id
Wait For Camera_Complete (Success As Boolean, Image As Bitmap, VideoPath As String)
B4XPages.GetManager.mStackOfPageIds.Add(TopPage) 'this is required as the page will be removed from the stack when the external camera page appears.
...
B4A Question Unable to remove a page id from stack - toby    
May 16, 2023 remove page2 from the stack so that the main page, not page2, would appear if I tap the back key while page3 is displayed.
The problem I'm having is Line 10 below returns False even though the stack...
link: the page object....
link: I have to use the following code instead to avoid null reference error
B4XPages.ClosePage(Me)...
link: You shouldn't never manipulate the internal stack.
B4XPages.ClosePage(B4XPages.MainPage...
B4i Question Remove specific page from stack - JonPM    
Dec 3, 2015Is there a way to remove a specific page from the stack:
Page 1 > Page 2 > Page 3 > Page 4
While on Page 4, remove Page 2?...
link: Any issues with declaring pages as global objects?
No....
link: One more question: Generally pages are declared Private. But to use your SetPagesStack code above...
link: Great, that works. Just have to add each page title in designer, or page.Title in code AFTER...
B4A Question [SOLVED] [B4XPages] Remove page from Stack - Erel (first post)    
Dec 7, 2020   
(2 reactions)As the pages instances are regular class instances, there are many ways to access the pages.
The two most common ways are:
- Declare them as public variables:
B4XPages.ClosePage(B4XPages.MainPage...
link: Yes...
from B4XMainPage
not from another page.
Example: I have the B4XMainPage and 3 other: Pag1...
link:
but from within the B4XMainPage only. By declaring the pages public, a
No. I was able to close...
link: Of course you can close that page like that:
B4XPages.ClosePage(MyThirdPage)
but from within...
B4A Tutorial [B4X] B4XPages - Cross platform and simple framework for managing multiple pages - Erel    
Dec 25, 2025   
(81 reactions) limitations. One notable limitation is that in B4A, the activity that holds all the pages should...:
B4J - Form
B4i - Page in a single NavBarController
B4A - Panel in a single activity.
Lets start:
1... if you are only interested in a single platform.
2. Each page is implemented in its own class... event will be called once, before the page becomes visible.
Private Sub B4XPage_Created (Root1... B4XMainPage. This page will usually be the first one to be displayed.
4. B4XPage_Created event...
B4i Question When would I use setPagesStack using a Navigation Controller - Erel (first post)    
Dec 14, 2014You can use it to restore the state the app was before the user closed the app.
NavControl.SetPagesStack(Array (Page1, Page2, Page3))
...
link: I don't understand how setPagesStack is used. Can you give me an example?...
B4A Question B4XPages: how to remove a page from memory? - TILogistic (first post)    
Sep 11, 2024   
(1 reaction)I don't know what your purpose is, but I think this might help.
B4XPages.GetManager
B4XPages.GetManager.mStackOfPageIds
Search
https://www.b4x.com/android/forum/pages/results/?query=stack+pages...
link: page and remove it from the stack. It still sits in memory, because when I show the page again...
Page: 1  
2  
3  
4  
5  
6  
7