BCGControlBar Library for .NET
SetSelectedIndex Method




An index of the item to select.
Specifies if it is necessary to invalidate the tab strip and call AdjustLocation function after changing the selected item.
Makes the tab item on the specified index in the collection selected and deselects other items from the collection.
Syntax
'Declaration
 
Public Sub SetSelectedIndex( _
   ByVal index As Integer, _
   ByVal adjustLayout As Boolean _
) 
'Usage
 
Dim instance As TabStrip
Dim index As Integer
Dim adjustLayout As Boolean
 
instance.SetSelectedIndex(index, adjustLayout)
public void SetSelectedIndex( 
   int index,
   bool adjustLayout
)
public: void SetSelectedIndex( 
   int index,
   bool adjustLayout
) 
public:
void SetSelectedIndex( 
   int index,
   bool adjustLayout
) 

Parameters

index
An index of the item to select.
adjustLayout
Specifies if it is necessary to invalidate the tab strip and call AdjustLocation function after changing the selected item.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

TabStrip Class
TabStrip Members

Send Feedback