in B4A, tabstripviewpager can do this to change tabstrip color label when it focused :
and procedure for GetAllTabLabels is:
is there the similiar way for doing that in B4i Tabstrip?
B4X:
For Each lbl As Label In GetAllTabLabels(tabkategori)
If i = Position Then
lbl.TextColor = Colors.White
strcat=lbl.Text
Else
lbl.TextColor = Colors.ARGB(180,255,255,255)
End If
i = i + 1
Next
and procedure for GetAllTabLabels is:
B4X:
Public Sub GetAllTabLabels (tabstrip As TabStrip) As List
Dim jo As JavaObject = tabstrip
Dim r As Reflector
r.Target = jo.GetField("tabStrip")
Dim tc As Panel = r.GetField("tabsContainer")
Dim res As List
res.Initialize
For Each v As View In tc
If v Is Label Then res.Add(v)
Next
Return res
End Sub
is there the similiar way for doing that in B4i Tabstrip?