SelectTab Method (BrowserApplication)

Action

Selects the specified tab. When several tabs are open, Internet Explorer only displays some of the tabs and scroll buttons. As a result, only the currently visible tabs work with this method, which affects index semantics. For example, only the currently visible tabs can be selected. Index 0 selects the first visible tab. This method is not supported for mobile Web applications.

Syntax

C#
result = webBrowser.SelectTab(tab)
VB
result = webBrowser.SelectTab(tab)
Variable Description
result The selected tab. BrowserWindow.
tab The tab to select. A tab name may contain the wildcards '*' and '?'. ItemIdentifier.