IsTabEnabled Method (JTabbedPane)

Class

JTabbedPane.

Action

Returns whether or not the tab is currently enabled.

Syntax

C#
tabEnabled = tabbedPane.IsTabEnabled(tab)
VB
tabEnabled = tabbedPane.IsTabEnabled(tab)
Variable Description
tabEnabled True if the tab is enabled; otherwise false. Boolean.
tab The name or index of the tab. ItemIdentifier.

Examples

VB

Dim isTabEnabled As Boolean = tabbedPane.IsTabEnabled("Alignment")
isTabEnabled = tabbedPane.IsTabEnabled(1)