Syntax
Lua |
---|
function TextBox:SetReadOnly(value); |
Parameters
- value
-
Type:
boolean
True to set the control to read only.
Remarks
Sets a flag indicating if the text in the control is read only. When a text box is read only, a user cannot alter the text. The text can still be manipulated programmatically.