Complete TextBox Control Reference
The ReadOnly property is used to set or return whether or not the text in the TextBox control can be changed.
If this property is set to TRUE the text can not be changed, otherwise FALSE. Default is FALSE.
The following example sets the ReadOnly mode to "TRUE":
Complete TextBox Control Reference
Your message has been sent to W3Schools.