How do I GET a Tabhost tab Title? I've tried numerous angles, it seams impossible...is it?
I hoped for something as simple as: TabTitle = TabHost1.Get(0).Title
But I want to get all the Tab Titles in all the TabHost's.
So I've got this so far:
Dim ThisTab As TabHost
Dim TabTitle As String
For Each t As TabHost In Activity.GetAllViewsRecursive
ThisTab = t
For Each tt As TabHost.tab In ThisTab
TabTitle = tt.Title
Msgbox(TabTitle)
Next
Next
I hoped for something as simple as: TabTitle = TabHost1.Get(0).Title
But I want to get all the Tab Titles in all the TabHost's.
So I've got this so far:
Dim ThisTab As TabHost
Dim TabTitle As String
For Each t As TabHost In Activity.GetAllViewsRecursive
ThisTab = t
For Each tt As TabHost.tab In ThisTab
TabTitle = tt.Title
Msgbox(TabTitle)
Next
Next