Tabs Collection

                   

A Tabs collection contains a collection of Tab objects.

Syntax

tabstrip.Tabs(index)

tabstrip.Tabs.Item(index)

The Tabs collection syntax has these parts:

Part Description
tabstrip An object expression that evaluates to a TabStrip control.
index An integer or string that uniquely identifies a member of an object collection. The integer is the value of the Index property of the desired Tab object; the string is the value of the Key property of the desired Tab object.

At design time, use the Insert Tab and Remove Tab buttons on the Tabs tab in the Properties Page of the TabStrip control to add and remove Tab objects from the Tabs collection.

The Tabs collection uses the Count property to return the number of tabs in the collection. To manipulate the Tab objects in the Tabs collection, use these methods at run time: