There is a form winform topmost , it has a multi-line text field. It displays the log line. In the TextBox field there is scrolling both vertical and horizontal. Everything is good except that in the field you can freely type the text and the input cursor is visible there. By setting enabled = false behavior changes and you cannot enter text, but you cannot scroll either, as well as copy some of the text.

Is it possible to disable keyboard input for this item?

  • one
    Property ReadOnly = true - kmv

1 answer 1

Set the property IsReadonly = true

  • one
    .... how silly it is not to notice this property) thanks. - Dmitry Gvozd
  • ReadOnly property is correctly called, correct the answer. - Dmitriy Gvozd