August 2003
Beginner
600 pages
12h 55m
English
A Label control is usually the best control for displaying text a user can't change. However, when you need to let users enter or edit text, the text box is the tool for the job. If you've ever typed information on a form, you've almost certainly used a text box. Add a new text box to your form now by double-clicking the TextBox item in the toolbox. Set the text box's properties as follows:
| Property | Value |
|---|---|
| Name | txtMyTextBox |
| Location | 128,4 |
| Size | 136,20 |
When you first create a new text box, its Text property is set to its default name (see Figure 7.2). Unfortunately, the Text property isn't automatically changed when you change the name of the text box (which you should always do), so I recommend that you clear ...
Read now
Unlock full access