GetTabIndex Method (JTabbedPane)

Class

JTabbedPane class

Action

Returns the tab index.

Syntax

tabIndex = tabbedPane.GetTabIndex(title)
Variable Description
tabIndex The tab index. The value is one-based. INTEGER.
title The title of the tab. STRING.

Examples

INTEGER iTabIndex = TabbedPane.GetTabIndex("Alignment")