Overview | Methods | This Package | All Packages
Sets the tabbed page that is selected in this control and returns the zero-based index of that tab.
Syntax
public final int setSelectedTab( TabPage tab )
Parameters
tab
A TabPage object that represents the tabbed page to select. If the value you supply is not a TabPage object found in the child list for this tab control, this method has no effect.
Return Value
Returns the zero-based index of the selected tabbed page. Returns -1 if no tabbed page was selected.
See Also getSelectedTab