SEditableText::SetIsReadOnly

See the IsReadOnly attribute