Frames allow you to visually organize and logically group various controls placed on the form. When you use the frame control around the option buttons, Visual Basic treats these buttons as mutually exclusive and allows you to only select one of the options. Thus, if a user selects one of the available option buttons, the other option buttons cannot be selected. Later in this chapter, you will find an example of the Info Survey form that uses two frames. One of them organizes the Hardware and Software option buttons into one logical group, while the second frame groups the check boxes related to the type of the computer (see Figure 10-11).

0 0

Post a comment