Controls > Advanced Controls > Text Box > Text Box State Properties
Text Box State Properties
Text
The Text property sets or gets the text of the text box. The text is limited to 1000 characters.
JScript
var stringText = TextBox.Text();
TextBox.Text(stringText);
VBscript
stringText = TextBox.Text
TextBox.Text = stringText
Element
Description
stringText
A string that indicates the text of the text box.
ReadOnly
The ReadOnly property sets or gets whether the text is read-only or is editable.
JScript
var bMode = TextBox.ReadOnly();
TextBox.ReadOnly(bMode);
VBscript
bMode = TextBox.ReadOnly
TextBox.ReadOnly = bMode
Element
Description
bMode
true—indicates that the text is read-only.
false—indicates that the text is editable.
Was this helpful?