Tab object (Outlook Forms Script)

Represents an individual member of a Tabs collection.

Remarks

Visually, a Tab object appears as a rectangle protruding from a larger rectangular area, or as a button adjacent to a rectangular area.

In contrast to a Page, a Tab does not contain any controls. Controls that appear within the region bounded by a TabStrip are contained on the form, as is the TabStrip.

Reference a Tab by its index value. The index value reflects the ordinal position of the Tab within the collection. The index of the first Tab in a collection is 0; the index of the second Tab is 1; and so on.

Properties

Name Description
Accelerator Returns or sets the accelerator key for the tab. Read/write.
Caption Returns or sets a String that specifies the text that appears on the tab. Read/write.
ControlTipText Returns and sets a String that specifies text that appears when the user briefly holds the mouse pointer over a control without clicking. Read/write.
Enabled Returns or sets a Boolean that specifies whether a control can receive the focus and respond to user-generated events. Read/write.
Index Returns or sets an Integer that specifies the position of a Tab object within a Tabs collection. Read/write.
Name Returns or sets a String that specifies the name of a control. Read/write.
Tag Returns or sets a String that specifies additional information about an object. Read/write.
Visible Returns or sets a Boolean that specifies whether a Tab is visible or hidden. Read/write.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.