Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

The GroupBox Control

The GroupBox control is a container control that appears as a subdivision of the form surrounded by a border. It does not provide scrollbars, like the Panel control, nor does it provide any kind of specialized layout capabilities. GroupBox can have a caption, which is set by the Text property, or it can appear without a caption when the Text property is set to an empty string.

The most common use for GroupBox controls is for grouping RadioButton controls. RadioButton controls placed within a single GroupBox are mutually exclusive, but are not exclusive of RadioButtons elsewhere in the form or in other GroupBox controls. RadioButton controls are discussed in greater detail later in this chapter. Table 4-4 describes Text, the most important unique property of the GroupBox control.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial