Export (0) Print
Expand All

TextBox Control (Windows Forms)

Visual Studio .NET 2003

Windows Forms text boxes are used to get input from the user or to display text. The TextBox control is generally used for editable text, although it can also be made read-only. Text boxes can display multiple lines, wrap text to the size of the control, and add basic formatting. The TextBox control allows a single format for text displayed or entered in the control.

In This Section

Introduction to the Windows Forms TextBox Control
Explains what this control is and its key features and properties.
Controlling the Insertion Point in a Windows Forms TextBox Control
Gives directions for specifying where the insertion point appears when an edit control first gets the focus.
Creating a Password Text Box with the Windows Forms TextBox Control
Explains how to conceal what is typed into a text box.
Creating a Read-Only Text Box (Windows Forms)
Describes how to prevent the contents of a text box from being changed.
Putting Quotation Marks in a String Programmatically (Windows Forms)
Explains adding quotation marks to a string in a text box.
Selecting Text Programmatically in the Windows Forms TextBox Control
Explains how to highlight text in a text box.
Viewing Multiple Lines in the Windows Forms TextBox Control
Describes how to make a text box scrollable.

Related Sections

Controls You Can Use On Windows Forms
Provides a complete list of Windows Forms controls, with links to information on their use.
TextBox Class
Describes this class and has links to all its members.
Show:
© 2014 Microsoft