Android Question TabHost.CurrentTab with Title

Wkm01pro

Member
Hi everyone, here I am again asking for help from you experts: I created this application with a TabHost ... now I put a CurrentTab and when I change the layout it changes the title at the top with a number (based on the position of the layout), I wanted to ask if it was possible to make the currentTab not refer to a number but to a string written by me. (eg "Page 1,2,3 etc). Is it possible?


TabNav_TabChanged:
Sub TabNav_TabChanged
    Activity.Title = TabNav.CurrentTab
End Sub
 

Attachments

  • Screenshot (101).png
    Screenshot (101).png
    12.2 KB · Views: 59

Mahares

Expert
Licensed User
I created this application with a TabHost
You are using a very old library, where Erel highly recommends switching to TabStripViewPager, especially when it looks like you have just joined the forum.
 
Upvote 0
Top