Visual Basic Concepts

Controls for Displaying and Entering Text

See Also

Label and text box controls are used to display or enter text. Use labels when you want your application to display text on a form, and text boxes when you want to allow the user to enter text. Labels contain text that can only be read, while text boxes contain text that can be edited.

To provide this feature Use this control
Text that can be edited by the user, for example an order entry field or a password box Text box
Text that is displayed only, for example to identify a field on a form or display instructions to the user Label

Labels and text boxes are discussed in the following sections: