findTab(name)
findTab(name)
Returns the
Ab.tabs.Tab
object for the specified tab name (as defined in the AXVW), or
null
if the tab is not found.
Parameters:
-
name
(String): tab name;
Example:
Set the restriction of a tabbed page:
var restriction = ...
var tabPanel = View.panels.get('tabs');
tabPanel.findTab('page2').restriction = restriction;