IsTabEnabled Method (JTabbedPane)

Class

JTabbedPane class

Action

Returns whether or not the tab is currently enabled.

Syntax

bTabEnabled = tabbedPane.IsTabEnabled(tab)
Variable Description
bTabEnabled True if the tab is enabled; otherwise false. BOOLEAN.
tab The name or index of the tab. LISTITEM.

Examples

BOOLEAN bTabEnabled = TabbedPane.IsTabEnabled("Alignment")
bTabEnabled = TabbedPane.bTabEnabled(1)