GetSelectedTabIndex Method (BrowserApplication)

Action

Returns the index of the active tab. When several tabs are open, Internet Explorer only displays some of the tabs and scroll buttons. As a result, this method only returns the index relative to the currently visible tabs. Index 0 identifies the first visible tab. This method is not supported for mobile web applications.

Syntax

C#
selectedTabIndex = webBrowser.GetSelectedTabIndex()
VB
selectedTabIndex = webBrowser.GetSelectedTabIndex()
Variable Description
selectedTabIndex Integer.