Overview | Methods | This Package | All Packages
Adds a tab to the tab strip.
Syntax
public final int addTab( TabItem item )
public final int addTab( String text )
Parameters
item
The TabItem object that represents the tab to add to the tab strip.
text
The text to display on the tab that is added to the tab strip.
Return Value
Returns the zero-based index of the inserted tab within the tab strip.
Remarks
If you pass a string to this method, a new TabItem object that has the passed string as its text property is created and then added to the tab control.
See Also removeTab