Beta Documentation - Subject to change.

Sets a flag indicating if the text in the control is read only.

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.

See Also