GetTabIndex Method (JTabbedPane)

Class

JTabbedPane.

Action

Returns the tab index.

Syntax

tabIndex = tabbedPane.GetTabIndex(title)
Variable Description
tabIndex The tab index. The value is zero-based. Integer.
title The title of the tab. String.

Examples

Dim tabIndex As Integer = tabbedPane.GetTabIndex("Alignment")