Setting up the Multi Page control for the wizard

Start with a new UserForm and add a MultiPage control. By default, this control contains two pages. Right-click the MultiPage tab and insert enough new pages to handle your wizard (one page for each wizard step). The example on the CD-ROM is a four-step wizard, so the MultiPage control has four pages. The names of the MultiPage tabs are irrelevant. The MultiPage control's Style property will eventually be set to 2 - fmTabStyleNone. While working on the UserForm, you'll want to keep the tabs visible to make it easier to access various pages.

Next, add the desired controls to each page of the MultiPage control. This will, of course, vary depending on your application. You might need to resize the MultiPage control while you work in order to have room for the controls.

0 0

Post a comment