Sets the selection to the first tab named text. The return value is the index of the tab that is selected, or-1 if no tab was selected.
[Visual Basic] Public Function SetSelectedTab( _ ByVal text As String _ ) As Integer [C#] public int SetSelectedTab( string text ); [C++] public: int SetSelectedTab( String* text ); [JScript] public function SetSelectedTab( text : String ) : int;
index Index of selected tab.
TabStrip Class | TabStrip Members | System.WinForms Namespace