(Formerly known as GetTextBoxText, which is now obsolete)
(Formerly known as SetTextBoxText, which is now obsolete)
(Formerly known as TextBox.GetText, which is now obsolete)
(Formerly known as TextBox.SetText, which is now obsolete)
String TextBox.Text;
Gets/sets the text box contents. This might be useful to reset
the text box to blank after the user has typed something in, or to fill
in a default value.
Example:
txtUserInput.Text = "";
will clear the txtUserInput text box.
See Also: TextBox.Font,
String.CompareTo,
Label.Text
|