SEditableTextBox::SetIsReadOnly

See the IsReadOnly attribute