Nkalampika Active Member Licensed User Jan 9, 2021 #1 hello how to refresh the content of a page with b4xpage
LucaMs Expert Licensed User Longtime User Jan 9, 2021 #2 Maybe you mean "reset" - empty the Views, as with B4XPages it is not necessary to save their content. One way is to remove all Views (Root.RemoveAllViews) and load the layout again. Upvote 0
Maybe you mean "reset" - empty the Views, as with B4XPages it is not necessary to save their content. One way is to remove all Views (Root.RemoveAllViews) and load the layout again.
Erel B4X founder Staff member Licensed User Longtime User Jan 10, 2021 #3 Example: B4X: Private Sub B4XPage_Created (Root1 As B4XView) Root = Root1 CreateLayout End Sub Private Sub CreateLayout Root.RemoveAllViews Root.LoadLayout("MainPage") End Sub Upvote 0
Example: B4X: Private Sub B4XPage_Created (Root1 As B4XView) Root = Root1 CreateLayout End Sub Private Sub CreateLayout Root.RemoveAllViews Root.LoadLayout("MainPage") End Sub