RichTextBox insertion cursor

  • Thread starter Thread starter anonymous
  • Start date Start date
A

anonymous

is there a way to surpress the insertion cursor in a rich
text box? for instance, i might want a RichTextBox to
display some text as a Label would-- readonly, no
insertion cursor though text could still be selected.

help!
 
The RichTextBox class derives from TextBoxBase, which has a ReadOnly
property. If you set this to true, then it should prevent any editing of
the content (while allowing for copying from the Rich Text Box).

Hope this helps.
 
Nick, setting ReadOnly = true still leaves the insertion
cursor visible.

-----Original Message-----
The RichTextBox class derives from TextBoxBase, which has a ReadOnly
property. If you set this to true, then it should prevent any editing of
the content (while allowing for copying from the Rich Text Box).

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

is there a way to surpress the insertion cursor in a rich
text box? for instance, i might want a RichTextBox to
display some text as a Label would-- readonly, no
insertion cursor though text could still be selected.

help!


.
 
Back
Top