MultiPage object (Outlook Forms Script)
Presents multiple screens of information as a single set.
Remarks
A MultiPage is useful when you work with a large amount of information that can be sorted into several categories. For example, use a MultiPage to display information from an employment application. One page might contain personal information such as name and address; another page might list previous employers; a third page might list references. The MultiPage lets you visually combine related information, while keeping the entire record readily accessible.
New pages are added to the right of the currently selected page rather than adjacent to it.
A MultiPage is a control that contains a collection of one or more pages.
Each Page of a MultiPage is a form that contains its own controls, and as such, can have a unique layout. Typically, the pages in a MultiPage have tabs so the user can select the individual pages.
By default, a MultiPage includes two pages, called Page1 and Page2. Each of these is a Page object, and together they represent the Pages collection of the MultiPage. If you add more pages, they become part of the same Pages collection.
The default property for a MultiPage is the Value property, which returns the index of the currently active Page in the Pages collection of the MultiPage.
The MultiPage control does not support the Click event.
Events
Name | Description |
---|---|
Click | Occurs when the user clicks inside the control. |
Properties
Name | Description |
---|---|
BackColor | Returns or sets a Long that specifies the background color of the object. 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. |
ForeColor | Returns or sets a Long that specifies the foreground color of an object. Read/write. |
MultiRow | Returns or sets a Boolean that specifies whether the control has more than one row of tabs. Read/write. |
SelectedItem | Returns an Object that indicates the currently selected Page object. Read-only. |
Style | Returns or sets an Integer that identifies the style of the tabs on the control. Read/write. |
TabFixedHeight | Returns or sets a Single that represents the height in points of the tabs on a MultiPage. Read/write. |
TabFixedWidth | Returns or sets a Single that represents the width in points of the tabs on a MultiPage. Read/write. |
TabOrientation | Returns or sets an Integer that specifies the location of the tabs on a MultiPage. Read/write. |
Value | Returns or sets a Variant that indicates the currently active page. 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.