public findTab(title as String) as Int:
Returns the index of a tab by title, or -1 when absent.
-1
index = tabs.findTab("Users")