wimpie3 Well-Known Member Licensed User Longtime User Sep 14, 2024 #1 Is it possible to configure B4XPages not to open a new Window for each page that is shown?
LucaMs Expert Licensed User Longtime User Sep 14, 2024 #2 B4X: B4XPages.ShowPageAndRemovePreviousPages("SomePage") or: B4X: B4XPages.ClosePage(B4XPages.GetManager.GetTopPage.B4XPage) B4XPages.ShowPage("SomePage") Upvote 0
B4X: B4XPages.ShowPageAndRemovePreviousPages("SomePage") or: B4X: B4XPages.ClosePage(B4XPages.GetManager.GetTopPage.B4XPage) B4XPages.ShowPage("SomePage")
wimpie3 Well-Known Member Licensed User Longtime User Sep 17, 2024 #3 That isn't exactly working as I want... this CLOSES the first window and opens a NEW one. Can't we simply show the contents in the SAME window? Like in the Android & IOS apps? Upvote 0
That isn't exactly working as I want... this CLOSES the first window and opens a NEW one. Can't we simply show the contents in the SAME window? Like in the Android & IOS apps?
wimpie3 Well-Known Member Licensed User Longtime User Sep 17, 2024 #4 Klaus, I'm talking about B4J here and this is absolutely not the behavior I see. Each page is a separate window (in Windows anyway). Upvote 0
Klaus, I'm talking about B4J here and this is absolutely not the behavior I see. Each page is a separate window (in Windows anyway).
DonManfred Expert Licensed User Longtime User Sep 17, 2024 #5 wimpie3 said: Klaus, I'm talking about B4J here and this is absolutely not the behavior I see. Each page is a separate window (in Windows anyway). Click to expand... to which Klaus you are talking here? Upvote 0
wimpie3 said: Klaus, I'm talking about B4J here and this is absolutely not the behavior I see. Each page is a separate window (in Windows anyway). Click to expand... to which Klaus you are talking here?
wimpie3 Well-Known Member Licensed User Longtime User Sep 17, 2024 #6 DonManfred said: to which Klaus you are talking here? Click to expand... Haha I meant DonManfred, Sorry... I'm spending too much time on this forum. Upvote 0
DonManfred said: to which Klaus you are talking here? Click to expand... Haha I meant DonManfred, Sorry... I'm spending too much time on this forum.
DonManfred Expert Licensed User Longtime User Sep 17, 2024 #7 i haven´t check the B4xPages-Code in detail. Especially the code which runs in the pagesmanager. The code within the bx4lib... Just tested the three pages example and see what you mean. It is recreating the window in each page it seems, yes. Upvote 0
i haven´t check the B4xPages-Code in detail. Especially the code which runs in the pagesmanager. The code within the bx4lib... Just tested the three pages example and see what you mean. It is recreating the window in each page it seems, yes.
LucaMs Expert Licensed User Longtime User Sep 17, 2024 #8 I'm "pretty" sure you want to achieve that in a B4XPages project, but in the rare case that you don't, you can try the project I'm attaching. Otherwise I think it is necessary for Erel to make the necessary changes to this case. [I also tried using B4XPages.GetManager.TransitionAnimationDuration = 0 (along with my previous suggestion) but that doesn't fix the problem] Attachments SingleForm.zip 5.6 KB · Views: 42 Upvote 0
I'm "pretty" sure you want to achieve that in a B4XPages project, but in the rare case that you don't, you can try the project I'm attaching. Otherwise I think it is necessary for Erel to make the necessary changes to this case. [I also tried using B4XPages.GetManager.TransitionAnimationDuration = 0 (along with my previous suggestion) but that doesn't fix the problem]
klaus Expert Licensed User Longtime User Sep 17, 2024 #9 You could also use Panels and switch between them. Or reload a new layout on the Root panel. Upvote 0