I need to change the title of the current tab, e. g. something like
so it can reflect in real time, what I'm typing in an EditText.
How is this possible?
I've already checked the TabHostExtras-Library, but without results.
B4X:
Sub txtBez_TextChanged(Old As String, New As String)
Dim TabCaption As String
If New.Trim = "" Then
TabCaption = "Spieler " & MainTab.CurrentTab
Else
TabCaption = New.Trim
End If
MainTab.Title(MainTab.CurrentTab) = TabCaption
End Sub
How is this possible?
I've already checked the TabHostExtras-Library, but without results.
Last edited: