Share via


Tab.Index Property

Outlook Forms Script Reference

Returns or sets an Integer that specifies the position of a Tab object within a Tabs collection. Read/write.

Syntax

expression.Index

expression   A variable that represents a Tab object.

Remarks

The Index property specifies the order in which tabs appear. Changing the value of Index visually changes the order of tabs on a TabStrip. The index value for the first tab is zero, the index value of the second tab is one, and so on.

In a MultiPage, Index refers to a Page as well as the page's Tab. In a TabStrip, Index refers to the tab only.

See Also