Info

Finish

Finish

After you've added all label names and clicked next, the wizard asks you to choose a default control if one is desired. In Figure 3.6, I've asked the wizard to make my item, called Red, the default control.

Figure 3.6 depicts the next step in the wizard, where you set values for each option in the group. Option values allow VBA programmers to tell which option the user has selected in the group. The wizard's default values for each option are acceptable.

Selecting a default control.

Selecting a default control.

Providing values for each option.

Providing values for each option.

The next wizard screen, displayed in Figure 3.7, allows you to select what type of option controls are displayed in your option group.

The last screen in the wizard (see Figure 3.8) prompts you to enter a caption for your option group frame. This caption is actually a property of a label control that automatically sits at the top of the frame.

Choosing an option control type for the option group.

Choosing an option control type for the option group.

Option Group Vba

Entering a caption for the option group's label.

Entering a caption for the option group's label.

In the next three sections I show you specific implementations of option groups.

0 0

Post a comment