Mult Page control

A MultiPage control lets you create tabbed dialog boxes, like the one that appears when you choose the ToolsOOptions command. Figure 17-11 shows an example of a custom dialog box that uses a MultiPage control. This particular control has three pages, or tabs.

Figure 17-11:

Use a MultiPage control to create a tabbed dialog box.

Figure 17-11:

Use a MultiPage control to create a tabbed dialog box.

Descriptions of the most useful MultiPage control properties follow:

^ Style: Determines the appearance of the control. The tabs can appear normally (on the top), on the left, as buttons, or hidden (no tabs — your VBA code determines which page is displayed).

^ Value: Determines which page or tab is displayed. A Value of 0 displays the first page, a Value of 1 displays the second page, and so on.

By default, a MultiPage control has two pages. To add pages, right-click a tab and select New Page from the resulting Context menu.

Was this article helpful?

0 0

Post a comment