I want to make a tab(1) of a tabhost only visible, if the scrollview of the previous tab(0) has reached nearly 100%.
I use this code:
So, the MsgBox appears an the end of the SV, but how can i disable / enable a (previous disabled) Tab(1) of the TabHost ?
I use this code:
B4X:
Sub InfosSV_ScrollChanged (Position As Int)
If InfosSV.ScrollPosition > 6050 Then
Msgbox("Reached","6050")
' TabHost1.???????.Enabled = True
End If
End Sub
So, the MsgBox appears an the end of the SV, but how can i disable / enable a (previous disabled) Tab(1) of the TabHost ?