Premium Essay

Dfedgdf

In:

Submitted By jhomi
Words 6365
Pages 26
User Interface Design Coverage:
This chapter teaches you to use additional controls to build application forms. These controls include: TextBox, MaskedTextBox, RichTextbox, GroupBox, CheckBox, RadioButton, and PictureBox. You will learn how to lay out a form and set various properties to change the appearance and behavior of controls. Programming topics include clearing TextBox controls, changing text color, concate

INTRODUCTION
Chapter 2 In-Class Project
The in-class project for this chapter uses numerous controls. You will build a project form that is similar to that shown below. It will include the following new controls:
 TextBox
 MaskedTextBox
 GroupBox
 RadioButton
 CheckBox
 PictureBox

GroupBox Control
A GroupBox control is used to group or contain other controls. It is used to organize a form into different sections and this can make the form easier for an application user to use.
 Name property – most of the time you will not bother to name a GroupBox control because they are rarely referred to when you write programming code – if you were to name the control, a name such as StudentInformationGroupBox would be appropriate.
 Text property – displays the words in the upper left corner of the GroupBox control. If you leave the Text property blank, the GroupBox looks like a rectangle. The form above has three GroupBox controls with Text property settings of Student Information, BackGround, and Text Color.

TextBox and Label Controls
You learned about TextBox and Label controls in an earlier note set. This section reviews and extends your understanding of TextBox and Label controls.
TextBox controls can be used for:
 Data input – this use requires no special property settings.
 Data output display. o Set the ReadOnly property to

Similar Documents