![]() ![]() | ||
You can create group boxes at design time or run time. I've created two group boxes in the GroupBoxes example on the CD-ROM at design time, as you see in Figure 6.17. After you've created the group boxes, you can drag other controls into them. Note that although you can set the caption for group boxes with the Text property, group boxes do not have either a BorderStyle property, nor do they support scroll bars, as panels do.
You can see this example running in Figure 6.5. You also can create group boxes at run time—see the next topic for the details.
![]() ![]() | ||