C cwt Active Member Licensed User Longtime User Dec 31, 2020 #1 I have looked at the B4i TabStrip example and need a little help using the TabStrip with B4XPages - is there another example for this - I could not find one. I am fairly new to B4i and B4XPages and need a little help in modifying the B4i TabStrip example for use with B4XPages. Thanks.
I have looked at the B4i TabStrip example and need a little help using the TabStrip with B4XPages - is there another example for this - I could not find one. I am fairly new to B4i and B4XPages and need a little help in modifying the B4i TabStrip example for use with B4XPages. Thanks.
C cwt Active Member Licensed User Longtime User Dec 31, 2020 #2 Got it figured out - B4XPages did not really have any relevance - I just used the code as-is from the example to create the tabs. But I have a question - how to disable the back-to-previous-page swipe? It is too easy to swipe back from the TabStrip and go to the previous page rather than the next left tab. I still want to keep the <Back at the top of the page but prevent the back swipe on the page itself. Upvote 0
Got it figured out - B4XPages did not really have any relevance - I just used the code as-is from the example to create the tabs. But I have a question - how to disable the back-to-previous-page swipe? It is too easy to swipe back from the TabStrip and go to the previous page rather than the next left tab. I still want to keep the <Back at the top of the page but prevent the back swipe on the page itself.
Erel B4X founder Staff member Licensed User Longtime User Dec 31, 2020 #3 1. Call the page with B4XPages.ShowPageAndRemovePreviousPages. 2. Get the native Page with B4XPages.GetNativePage(Me). Set the top left bar button and make it look like the default back button. Upvote 0
1. Call the page with B4XPages.ShowPageAndRemovePreviousPages. 2. Get the native Page with B4XPages.GetNativePage(Me). Set the top left bar button and make it look like the default back button.
C cwt Active Member Licensed User Longtime User Dec 31, 2020 #4 How to select a specific tab after the TabStrip has been created? Have not had any luck with TabStrip1.CurrentPage() - not sure how to use it. Upvote 0
How to select a specific tab after the TabStrip has been created? Have not had any luck with TabStrip1.CurrentPage() - not sure how to use it.
Erel B4X founder Staff member Licensed User Longtime User Jan 1, 2021 #5 Please start a new thread for any question you have. Upvote 0