A apty Active Member Licensed User Longtime User Nov 24, 2018 #1 Please help with how i can add 5 panels to tabstripviewpager, so that i can scroll between them. My code for the panels is shown below: B4X: for i=0 to 4 Dim pnl As Panel pnl.Initialize("l") Dim Button1 As Button Dim Label1 As Label pnl.LoadLayout("4") Next The panels hold a button and a label. I want to move to next panel, until the 5th panel, with tabstripviewpager
Please help with how i can add 5 panels to tabstripviewpager, so that i can scroll between them. My code for the panels is shown below: B4X: for i=0 to 4 Dim pnl As Panel pnl.Initialize("l") Dim Button1 As Button Dim Label1 As Label pnl.LoadLayout("4") Next The panels hold a button and a label. I want to move to next panel, until the 5th panel, with tabstripviewpager
DonManfred Expert Licensed User Longtime User Nov 24, 2018 #2 I dont see you adding something to the tabstrip. Check the Tutorial and understand how it works. Add your buttons and labels to Layout "4" and then B4X: for i=0 to 4 TabStrip1.LoadLayout("4", "PAGE "&i) ' The buttons and labels inside Layout 4 are HERE useable and initialized... Next Upvote 0
I dont see you adding something to the tabstrip. Check the Tutorial and understand how it works. Add your buttons and labels to Layout "4" and then B4X: for i=0 to 4 TabStrip1.LoadLayout("4", "PAGE "&i) ' The buttons and labels inside Layout 4 are HERE useable and initialized... Next
A apty Active Member Licensed User Longtime User Nov 24, 2018 #3 thanks. it works now. Is it possible to show the indicator at the bottom instead of top? Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Nov 25, 2018 #4 apty said: Is it possible to show the indicator at the bottom instead of top? Click to expand... You should start a new thread for a new question. It is not possible to change the tabs headers position. Upvote 0
apty said: Is it possible to show the indicator at the bottom instead of top? Click to expand... You should start a new thread for a new question. It is not possible to change the tabs headers position.