C cwt Active Member Licensed User Longtime User Jan 1, 2021 #1 using TabStrip with B4i and B4XPages 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.
using TabStrip with B4i and B4XPages 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.
N Num3 Active Member Licensed User Longtime User Jan 1, 2021 #2 B4X: TabStrip1.ScrollTo(0,True) Upvote 0
C cwt Active Member Licensed User Longtime User Jan 1, 2021 #3 Num3 said: B4X: TabStrip1.ScrollTo(0,True) Click to expand... TabStrip1.ScrollTo(0,True) will not work. ScrollTo is not a valid method for a TabStrip view - this is B4i and B4XPages if that makes a difference. The line in code is highlighted in red with the message "unknown member: scrollto" Upvote 0
Num3 said: B4X: TabStrip1.ScrollTo(0,True) Click to expand... TabStrip1.ScrollTo(0,True) will not work. ScrollTo is not a valid method for a TabStrip view - this is B4i and B4XPages if that makes a difference. The line in code is highlighted in red with the message "unknown member: scrollto"
N Num3 Active Member Licensed User Longtime User Jan 1, 2021 #4 cwt said: TabStrip1.ScrollTo(0,True) will not work. ScrollTo is not a valid method for a TabStrip view - this is B4i and B4XPages if that makes a difference. The line in code is highlighted in red with the message "unknown member: scrollto" Click to expand... Hmmm... I am using TabStripViewPager v1.20 and works for B4A Upvote 0
cwt said: TabStrip1.ScrollTo(0,True) will not work. ScrollTo is not a valid method for a TabStrip view - this is B4i and B4XPages if that makes a difference. The line in code is highlighted in red with the message "unknown member: scrollto" Click to expand... Hmmm... I am using TabStripViewPager v1.20 and works for B4A
angel_ Well-Known Member Licensed User Longtime User Jan 1, 2021 #5 B4X: TabStrip1.CurrentPage = 0 Upvote 0
C cwt Active Member Licensed User Longtime User Jan 1, 2021 #6 angel_ said: B4X: TabStrip1.CurrentPage = 0 Click to expand... That works!! So simple, I must have had a brain cloud. Upvote 0
angel_ said: B4X: TabStrip1.CurrentPage = 0 Click to expand... That works!! So simple, I must have had a brain cloud.